texttest -a complex -d /home/delphi/clangDebug/sumo/tests -reconnect /home/delphi/clangDebug/texttesttmp/clang3_64D.30Sep050611.248857 -g
texttest -a complex -d /home/delphi/clangDebug/sumo/tests
---------- Differences in errors ---------- 108c108,150 < Wrong error code returned (0)! --- > > ================================================================= > ==3502021==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 376 byte(s) in 1 object(s) allocated from: > #0 0x5195ad in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x5195ad) > #1 0xab9d0e in NIImporter_SUMO::addEdge(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:570:21 > #2 0xab734f in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:452:13 > #3 0x1a7cfd3 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 0x7fe1bb5b95ae 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 0x5195ad in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x5195ad) > #1 0xac0846 in NIImporter_SUMO::addLane(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:628:21 > #2 0xab7436 in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:455:13 > #3 0x1a7cfd3 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 0x7fe1bb5b95ae 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 0x5195ad in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x5195ad) > #1 0x5b70d0 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 0x5b6ffd 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 0x5b6ccf 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 0x5b5608 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 0x5b367b 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 0x5a49f8 in PositionVector::operator=(PositionVector const&) /home/delphi/clangDebug/sumo/src/utils/geom/PositionVector.h:43:7 > #7 0xac1338 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)! --- > > ================================================================= > ==3501784==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 376 byte(s) in 1 object(s) allocated from: > #0 0x5195ad in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x5195ad) > #1 0xab9d0e in NIImporter_SUMO::addEdge(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:570:21 > #2 0xab734f in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:452:13 > #3 0x1a7cfd3 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 0x7f28d6d5b5ae 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 0x5195ad in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x5195ad) > #1 0xac0846 in NIImporter_SUMO::addLane(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:628:21 > #2 0xab7436 in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:455:13 > #3 0x1a7cfd3 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 0x7f28d6d5b5ae 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 0x5195ad in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x5195ad) > #1 0x5b70d0 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 0x5b6ffd 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 0x5b6ccf 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 0x5b5608 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 0x5b367b 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 0x5a49f8 in PositionVector::operator=(PositionVector const&) /home/delphi/clangDebug/sumo/src/utils/geom/PositionVector.h:43:7 > #7 0xac1338 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 > > ================================================================= > ==3493434==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1224 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1887d22 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 0x187f0ef 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 0x17bf9c3 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:455:30 > #4 0x17b4cd7 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:99:17 > #5 0x30d93c3 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 0x7f8925b115ae 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 > > ================================================================= > ==3493522==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1224 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1887d22 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 0x187f0ef 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 0x17bf9c3 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:455:30 > #4 0x17b4cd7 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:99:17 > #5 0x30d93c3 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 0x7f77efc1a5ae 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 > > ================================================================= > ==3502062==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1224 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1887d22 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 0x187f0ef 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 0x17bf9c3 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:455:30 > #4 0x17b4cd7 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:99:17 > #5 0x30d93c3 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 0x7f8446d6b5ae 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 > > ================================================================= > ==3502121==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1224 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1887d22 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 0x187f0ef 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 0x17bf9c3 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:455:30 > #4 0x17b4cd7 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:99:17 > #5 0x30d93c3 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 0x7f66b269b5ae 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 > > ================================================================= > ==3516934==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a4d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a4d) > #1 0x5021de in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f041f790082 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 0x4f2b5d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b5d) > #1 0x7f041fc08d03 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 > > ================================================================= > ==3516884==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a4d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a4d) > #1 0x5021de in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7fee8a5b0082 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 0x4f2b5d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b5d) > #1 0x7fee8aa28d03 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 > > ================================================================= > ==3516901==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a4d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a4d) > #1 0x5021de in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f0c8c79f082 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 0x4f2b5d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b5d) > #1 0x7f0c8cc17d03 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 > > ================================================================= > ==3516913==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a4d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a4d) > #1 0x5021de in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f0c4908f082 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 0x4f2b5d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b5d) > #1 0x7f0c49507d03 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 0x4f2a4d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a4d) > #1 0x9bd7a0 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 0x9bd6cd 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 0x9bd37c 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 0x9bb552 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 0x9ba0d3 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 0x99c6c6 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 0xc13b60 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 0x57610a in SUMORouteHandler::addParam(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:378:29 > #9 0x5746c8 in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:212:13 > #10 0x9f71c3 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 0x7f0c49afc5ae 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 688 byte(s) in 1 object(s) allocated from: > #0 0x4f2a4d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a4d) <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 > > ================================================================= > ==3516748==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a4d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a4d) > #1 0x5021de in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7ff35732c082 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 0x4f2b5d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b5d) > #1 0x7ff3577a4d03 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 > > ================================================================= > ==3516749==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a4d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a4d) > #1 0x5021de in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f19c07a7082 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 0x4f2b5d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b5d) > #1 0x7f19c0c1fd03 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 > > ================================================================= > ==3516796==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a4d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a4d) > #1 0x5021de in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f566cdfb082 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 0x4f2b5d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b5d) > #1 0x7f566d273d03 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 > > ================================================================= > ==3516800==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a4d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a4d) > #1 0x5021de in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7fdff50d5082 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 0x4f2b5d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b5d) > #1 0x7fdff554dd03 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 > > ================================================================= > ==3516784==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a4d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a4d) > #1 0x5021de in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f6d8c86b082 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 0x4f2b5d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b5d) > #1 0x7f6d8cce3d03 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 > > ================================================================= > ==3516857==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a4d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a4d) > #1 0x5021de in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7fe6c30bf082 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 0x4f2b5d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b5d) > #1 0x7fe6c3537d03 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 > > ================================================================= > ==3516826==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a4d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a4d) > #1 0x5021de in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7fa6bb5f4082 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 0x4f2b5d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b5d) > #1 0x7fa6bba6cd03 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 > > ================================================================= > ==3516840==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a4d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a4d) > #1 0x5021de in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f42c49d1082 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 0x4f2b5d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b5d) > #1 0x7f42c4e49d03 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 > > ================================================================= > ==3516849==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a4d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a4d) > #1 0x5021de in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f1bbb125082 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 0x4f2b5d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b5d) > #1 0x7f1bbb59dd03 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 > > ================================================================= > ==3516880==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a4d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a4d) > #1 0x5021de in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f963eea5082 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 0x4f2b5d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b5d) > #1 0x7f963f31dd03 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/tmpl8aaz5q9/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/tmpkz9murpx/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/tmpznszj3t3/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/tmprnntxvsb/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 > > ================================================================= > ==3514197==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 1 object(s) allocated from: > #0 0x5195ad in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x5195ad) > #1 0x857f7f 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 0x1a7e8fa in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:156:13 > #3 0x7f0180910f52 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 0x5197cd in operator new(unsigned long, std::nothrow_t const&) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x5197cd) > #1 0x7f01806266a8 (/usr/lib/x86_64-linux-gnu/libproj.so.15+0x2336a8) > > Indirect leak of 831 byte(s) in 11 object(s) allocated from: > #0 0x4e9e3d in malloc (/home/delphi/clangDebug/sumo/bin/netconvertD+0x4e9e3d) > #1 0x7f0180625dbd 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 0x5195ad in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x5195ad) > #1 0x7f01804a0867 (/usr/lib/x86_64-linux-gnu/libproj.so.15+0xad867) > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x5195ad in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x5195ad) > #1 0x7f01804a703b (/usr/lib/x86_64-linux-gnu/libproj.so.15+0xb403b) > > Indirect leak of 208 byte(s) in 2 object(s) allocated from: > #0 0x5195ad in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x5195ad) <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 > > ================================================================= > ==3513993==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efd4ad82082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7efd4ad82082 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,3c1,2176 < .....WARNING: No typeSubstring given. Managing all vehicles. (PlatoonManager) < .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 > > ================================================================= > ==3513983==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efedd4a0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 <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 > > ================================================================= > ==3513972==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7390e5b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7390e5b082 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 > > ================================================================= > ==3514047==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f115cf04082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f115cf04082 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 > > ================================================================= > ==3513991==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5e101f0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <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 > > ================================================================= > ==3513949==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb465d40082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb465d40082 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,27 > > ================================================================= > ==3515775==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f7b297545ae 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). > > ================================================================= > ==3515798==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcd1260 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30d93c3 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 0x7f520ba0c5ae 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 > > ================================================================= > ==3515847==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f17838bf5ae 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 > > ================================================================= > ==3515878==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcd1260 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30d93c3 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 0x7f1476b7d5ae 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 > > ================================================================= > ==3515846==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fb066e855ae 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). > > ================================================================= > ==3515877==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcd1260 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30d93c3 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 0x7f67489185ae 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 > > ================================================================= > ==3515799==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f7959e0e5ae 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). > > ================================================================= > ==3515824==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcd1260 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30d93c3 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 0x7f5cc4e8f5ae 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 > > ================================================================= > ==3515815==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f4ff96ae5ae 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). > > ================================================================= > ==3515842==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcd1260 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30d93c3 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 0x7ffaf47fd5ae 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 > > ================================================================= > ==3515879==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f7c17c8a5ae 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). > > ================================================================= > ==3515895==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcd1260 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30d93c3 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 0x7fa862fa65ae 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 > > ================================================================= > ==3515645==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f57031385ae 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). > > ================================================================= > ==3515658==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcd1260 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30d93c3 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 0x7f660a31b5ae 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 > > ================================================================= > ==3515742==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f5f779425ae 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). > > ================================================================= > ==3515759==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcd1260 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30d93c3 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 0x7f42fe5c05ae 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 > > ================================================================= > ==3515693==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7ffb07eee5ae 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). > > ================================================================= > ==3515709==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcd1260 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30d93c3 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 0x7f9c169d45ae 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 > > ================================================================= > ==3515772==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fe7dae2f5ae 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). > > ================================================================= > ==3515795==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcd1260 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30d93c3 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 0x7f2f987ed5ae 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 > > ================================================================= > ==3515744==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f056d7c45ae 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). > > ================================================================= > ==3515777==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcd1260 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30d93c3 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 0x7f6ae728b5ae 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,2 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 27530000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 27530000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 27190000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in
---------- Differences in errors ---------- 0a1,2 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 50000000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 instate save_rail_signal_constraint ( Last six runs Sep2022 )
---------- 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 > > ================================================================= > ==3504987==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd664342082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd664342082 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 > > ================================================================= > ==3504879==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6efec5a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3504452==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe9e4a97082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe9e4a97082 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:419: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:419:16 in > > ================================================================= > ==3504769==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fd90a947f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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:419: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:419:16 in > > ================================================================= > ==3504884==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f83dd180f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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:419: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:419:16 in > > ================================================================= > ==3504904==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fdf199d9f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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:419: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:419:16 in > > ================================================================= > ==3504426==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f725df24082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 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:419: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:419:16 in > > ================================================================= > ==3504150==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5c22006082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 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:419: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:419:16 in > > ================================================================= > ==3504400==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcf96861082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 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 > > ================================================================= > ==3504616==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f282f734082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f282f734082 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 > > ================================================================= > ==3504580==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3236aec082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3236aec082 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:419: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:419:16 in 1a8,321 > > ================================================================= > ==3504742==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa6fee3c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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:419: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:419:16 in 28a35,348 > > ================================================================= > ==3503855==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb691cc3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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:419: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:419:16 in > > ================================================================= > ==3504807==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f92b9993082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 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:419: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:419:16 in > > ================================================================= > ==3503892==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f05e84c5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 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 > > ================================================================= > ==3503527==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1ecf508082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1ecf508082 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 > > ================================================================= > ==3504168==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f511553e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f511553e082 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:419: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:419:16 in > > ================================================================= > ==3504288==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5842cec082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 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:419: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:419:16 in > > ================================================================= > ==3504688==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe943eb8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 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 > ================================================================= > ==3503383==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000484a0 at pc 0x00000121831b bp 0x7fffd27cf570 sp 0x7fffd27cf568 > WRITE of size 8 at 0x60b0000484a0 thread T0
---------- Differences in errors ---------- 2a3,5 > ================================================================= > ==3503469==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000484a0 at pc 0x00000121831b bp 0x7fffa143c270 sp 0x7fffa143c268 > WRITE of size 8 at 0x60b0000484a0 thread T0 5a9,12 > #0 0x121831a in TraCIServer::cleanup() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:758:45 > #1 0x121742f in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:365:5 > #2 0x121a723 in TraCIServer::close() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:394:5 > #3 0x5568c2 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:128:5
---------- Differences in errors ---------- 2a3,5 > ================================================================= > ==3503571==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000484a0 at pc 0x00000121831b bp 0x7fffa8071d90 sp 0x7fffa8071d88 > WRITE of size 8 at 0x60b0000484a0 thread T0
---------- Differences in errors ---------- 2a3,5 > ================================================================= > ==3503665==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000484a0 at pc 0x00000121831b bp 0x7fff65192c50 sp 0x7fff65192c48 > WRITE of size 8 at 0x60b0000484a0 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:419: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:419:16 in > > ================================================================= > ==3502387==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7ff2148a2f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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:419: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:419:16 in > > ================================================================= > ==3502551==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fde00dcaf52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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:419: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:419:16 in > > ================================================================= > ==3501688==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fefd704e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 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:419: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:419:16 in > > ================================================================= > ==3502041==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5b41b0b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 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:419: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:419: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' > 2b 00 80 28 30 e7 bb 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:6752: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' > 2b 00 80 28 30 e7 bb 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:6752:9 in > /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6755: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' > 2b 00 80 28 30 e7 bb 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:6755:13 in > /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ToC.cpp:1072:37: runtime error: member call on address 0x61100006d640 which does not point to an object of type 'MSVehicle::Influencer' > 0x61100006d640: note: object has invalid vptr > 26 00 00 6e 70 00 00 3a 00 00 00 00 00 00 00 00 be be be be e0 ec 18 00 30 60 00 00 00 ed 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-09-24 05:07:09 by Eclipse SUMO sumo Version v1_14_1+1238-9b9cc23eb8f > <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:419: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:419:16 in > > ================================================================= > ==3502023==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f99163a5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 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:419: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:419:16 in > > ================================================================= > ==3502954==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe6bf75c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 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:419: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:419:16 in > > ================================================================= > ==3502663==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fda7f923082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 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:419: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:419:16 in > > ================================================================= > ==3502796==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f09869fa082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 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:419: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:419: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' > 25 00 00 4b 30 e7 bb 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:6752: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' > 25 00 00 4b 30 e7 bb 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:6752:9 in > /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6755: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' > 25 00 00 4b 30 e7 bb 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:6755:13 in > /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ToC.cpp:1072:37: runtime error: member call on address 0x61100006d640 which does not point to an object of type 'MSVehicle::Influencer' > 0x61100006d640: note: object has invalid vptr > 33 00 00 37 29 00 80 67 00 00 00 00 00 00 00 00 be be be be 10 ed 18 00 30 60 00 00 30 ed 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-09-24 05:07:42 by Eclipse SUMO sumo Version v1_14_1+1238-9b9cc23eb8f > <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 > > ================================================================= > ==3503036==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4733cab082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4733cab082 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 > > ================================================================= > ==3503250==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9a2ed79082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9a2ed79082 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:419: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:419:16 in > > ================================================================= > ==3503263==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe959035082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 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:419: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:419:16 in 5a12,325 > > ================================================================= > ==3503822==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f893f6a2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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:419: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:419:16 in 4a11,324 > > ================================================================= > ==3503771==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa8ad442082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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:419: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:419:16 in > > ================================================================= > ==3504724==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff599e10082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 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 > > ================================================================= > ==3500981==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 304 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0xb61ecb in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:737:30 > #2 0x2494735 in MSEmissionExport::write(OutputDevice&, long long, int) /home/delphi/clangDebug/sumo/src/microsim/output/MSEmissionExport.cpp:64:26 > #3 0x58ad04 in MSNet::writeOutput() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:910:9 > #4 0x56f0cc in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:721:5 > #5 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #6 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #7 0x7fd476409082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x2c80c50 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 0x2c80b7d 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 0x2c8082c 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 0x2c86a12 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 0x2c86423 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 0x2c73576 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 0x2c6f475 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa297fe in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xabc11e in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4368:5 > #10 0xf942d2 in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:2030:33 > #11 0xe85c02 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 > > ================================================================= > ==3500961==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fac37c8c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fac37c8c082 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 > ================================================================= > ==3512919==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000028 (pc 0x0000018992dd bp 0x7fff533e18f0 sp 0x7fff533e14c0 T0) > ==3512919==The signal is caused by a READ memory access. > ==3512919==Hint: address points to the zero page. > #0 0x18992dd 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 0x17ec995 in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:318:46 > #2 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #3 0x7f7640aaa5fe 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 0x7f7640a797c0 in xercesc_3_2::WFXMLScanner::scanStartTagNS(bool&) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e27c0) > #5 0x7f7640a7a311 in xercesc_3_2::WFXMLScanner::scanContent() (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e3311) > #6 0x7f7640a7a54f in xercesc_3_2::WFXMLScanner::scanDocument(xercesc_3_2::InputSource const&) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e354f) > #7 0x7f7640aaad52 in xercesc_3_2::SAX2XMLReaderImpl::parse(xercesc_3_2::InputSource const&) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x213d52) > #8 0x3105e65 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 0x3237b3b 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 0x1799b85 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 0x178ec04 in NLBuilder::build() /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:124:10 > #12 0x179fab9 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:330:17 > #13 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #14 0x7f763f7f8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > #15 0x4a949d in _start (/home/delphi/clangDebug/sumo/bin/sumoD+0x4a949d) > > 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&) > ==3512919==ABORTING > AddressSanitizer:DEADLYSIGNAL > ================================================================= > ==3512982==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000028 (pc 0x0000018992dd bp 0x7fff0d340bf0 sp 0x7fff0d3407c0 T0) > ==3512982==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.279541658207 < Deviation int.net.xml meso jc vs. micro: 0.116534858316 --- > Durations int.net.xml: count 19, min 422.53 (10), max 422.53 (10), mean 422.53, Q1 422.53, median 422.53, Q3 422.53 > Durations with junction control int.net.xml: count 19, min 422.53 (10), max 422.53 (10), mean 422.53, Q1 422.53, median 422.53, Q3 422.53 > Deviation int.net.xml meso vs. micro: 4.0359325156183955e-16 > Deviation int.net.xml meso jc vs. micro: 4.0359325156183955e-16
---------- Differences in output ---------- 12a13,19 > ----------------------------------------------------- > Suppressions used: > count bytes template > 9 248 xercesc_3_2::MemoryManagerImpl::allocate > 1 288 ucnv_createConverterFromSharedData > ----------------------------------------------------- > 25a33,39 > ----------------------------------------------------- > Suppressions used: > count bytes template > 11 278 xercesc_3_2::MemoryManagerImpl::allocate > 1 288 ucnv_createConverterFromSharedData > ----------------------------------------------------- > 38a53,59 > ----------------------------------------------------- > Suppressions used: > count bytes template > 11 280 xercesc_3_2::MemoryManagerImpl::allocate > 1 288 ucnv_createConverterFromSharedData > ----------------------------------------------------- > 51a73,79 > ----------------------------------------------------- > Suppressions used: > count bytes template > 11 278 xercesc_3_2::MemoryManagerImpl::allocate > 1 288 ucnv_createConverterFromSharedData <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,60 > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tools/xml/xml2protobuf.py", line 210, in <module> > main() > File "/home/delphi/clangDebug/sumo/tools/xml/xml2protobuf.py", line 196, in main > module = generateProto(attrFinder.tagAttrs, attrFinder.depthTags, > File "/home/delphi/clangDebug/sumo/tools/xml/xml2protobuf.py", line 187, in generateProto > return importlib.import_module("%s_pb2" % base) > File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module > return _bootstrap._gcd_import(name[level:], package, level) > File "<frozen importlib._bootstrap>", line 1014, in _gcd_import > File "<frozen importlib._bootstrap>", line 991, in _find_and_load > File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked > File "<frozen importlib._bootstrap>", line 671, in _load_unlocked > File "<frozen importlib._bootstrap_external>", line 848, in exec_module > File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed > File "/home/delphi/clangDebug/texttesttmp/clang3_64D.24Sep050548.3492298/complex/sumo/protobuf/trajectories_pb2.py", line 32, in <module> > _descriptor.EnumValueDescriptor( > File "/home/delphi/.local/lib/python3.8/site-packages/google/protobuf/descriptor.py", line 755, in __new__ > _message.Message._CheckCalledFromGeneratedFile() > TypeError: Descriptors cannot not be created directly. > If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0. > If you cannot immediately regenerate your protos, some other possible workarounds are: > 1. Downgrade the protobuf package to 3.20.x or lower. > 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower). > > More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates > Error: send failed: Software caused tcpip::Socket abort > Quitting (on error). > Traceback (most recent call last): <truncated after showing first 30 lines> ---------- Differences in output ---------- 1,5d0 < --- < +++ < - < -<trajectories xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/amitran/trajectories.xsd" timeStepSize="1000"> < +<trajectories timeStepSize="1000">
---------- 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 > > ================================================================= > ==3500912==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f49b711d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f49b711d082 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 > > ================================================================= > ==3501059==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 304 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0xb61ecb in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:737:30 > #2 0x241135c 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 0x23d6020 in MSMeanData::MeanDataValues::notifyMove(SUMOTrafficObject&, double, double, double) /home/delphi/clangDebug/sumo/src/microsim/output/MSMeanData.cpp:254:5 > #4 0xa27ff7 in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1106:26 > #5 0xabc11e in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4368:5 > #6 0xf942d2 in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:2030:33 > #7 0xe85c02 in MSEdgeControl::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEdgeControl.cpp:228:19 > #8 0x56c546 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:666:18 > #9 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #10 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #11 0x7f66cd4cc082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x2c80c50 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 0x2c80b7d 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 0x2c8082c 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 0x2c86a12 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 0x2c86423 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 0x2c73576 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 0x2c6f475 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa297fe in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xabc11e in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4368:5 <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 > > ================================================================= > ==3510136==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f603e352f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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,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 > > ================================================================= > ==3510170==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 10 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fd938fc45ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121bc7d 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 0x59e896 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 0x25836d4 in MSTransportableControl::checkWaiting(MSNet*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportableControl.cpp:192:39 > #9 0x56d1a2 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:682:26 > #10 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55546d 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 > > ================================================================= > ==3510123==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fb07a692f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510126==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f8a4f89df52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 > > ================================================================= > ==3510104==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7eff4d534f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510118==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fce74cf1f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 > > ================================================================= > ==3510124==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fb8cb567f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510557==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3510645==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3510614==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3510564==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3510646==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3510610==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3510565==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3510661==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3510624==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3510547==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3510638==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3510599==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3510671==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3510666==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3510066==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f0cd636bf52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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,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 > > ================================================================= > ==3510032==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3510076==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 10 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7ff27f56c5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121bc7d 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 0x59e896 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 0x25836d4 in MSTransportableControl::checkWaiting(MSNet*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportableControl.cpp:192:39 > #9 0x56d1a2 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:682:26 > #10 0x567fe4 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 > > ================================================================= > ==3510085==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 10 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f1e4f06f5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121bc7d 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 0x59e896 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 0x25836d4 in MSTransportableControl::checkWaiting(MSNet*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportableControl.cpp:192:39 > #9 0x56d1a2 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:682:26 > #10 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55546d 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 > > ================================================================= > ==3510036==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fb13c712f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510019==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f064abf2f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510443==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f19309a2f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510432==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f9350b43f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510399==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f3f7a7b2f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510430==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f8ea017cf52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510446==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3510403==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fad34300082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fad34300082 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 > > ================================================================= > ==3510181==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f7128511f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510187==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f075231cf52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510230==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f3dfda74f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510227==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f49c7cd6f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510225==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fc12c109f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510229==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fd98c10cf52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510188==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fe6e9cb1f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510223==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f8bb7225f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510331==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f43d04eff52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510360==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fa4cdb42f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510355==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f460f64af52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510340==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fea99008f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510357==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f358d23af52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510347==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7ff35bcc7f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510382==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f4bba44df52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510479==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fe108541f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510501==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fdc02732f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510507==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7ffa1f5a2f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510522==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fd7bbf52f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510541==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 10 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f8e8171f5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121bc7d 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 0x59e896 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 0x25836d4 in MSTransportableControl::checkWaiting(MSNet*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportableControl.cpp:192:39 > #9 0x56d1a2 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:682:26 > #10 0x567fe4 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 > > ================================================================= > ==3510476==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f29c5f56f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510473==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f98ac33cf52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510464==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f4a61c7ef52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3510275==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7feb7ec41082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7feb7ec41082 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 > > ================================================================= > ==3510298==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb7c1e79082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb7c1e79082 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 > > ================================================================= > ==3510314==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3618f83082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3618f83082 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 > > ================================================================= > ==3510279==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f217b171082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f217b171082 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 > > ================================================================= > ==3510283==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1d3d9e9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1d3d9e9082 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 > > ================================================================= > ==3507982==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9488794082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9488794082 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 > > ================================================================= > ==3509145==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f0c4807ff52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 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 > > ================================================================= > ==3509176==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3509187==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f762fa95082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f762fa95082 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 > > ================================================================= > ==3508181==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fccb02e1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fccb02e1082 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 > > ================================================================= > ==3508230==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f081c50d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3508285==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe1a31fa082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d 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 > > ================================================================= > ==3508314==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5038dc6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f5038dc6082 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 > > ================================================================= > ==3508374==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4b2a330082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4b2a330082 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 > > ================================================================= > ==3508377==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3508432==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f53667c8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f53667c8082 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 > > ================================================================= > ==3508425==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6facf70082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6facf70082 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 > > ================================================================= > ==3508486==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xce10c1 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcddc49 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7fcef5ad8f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f 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 > > ================================================================= > ==3508561==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xce10c1 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcddc49 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7f6191320f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f 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 > > ================================================================= > ==3508516==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xce10c1 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcddc49 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7ff7643ccf52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f 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 > > ================================================================= > ==3508544==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f53402b7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f53402b7082 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 > > ================================================================= > ==3508560==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ffa9fb08082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ffa9fb08082 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 > > ================================================================= > ==3508586==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f07e8575082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3508589==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2b5755f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2b5755f082 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 > > ================================================================= > ==3508656==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc13f5a1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc13f5a1082 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 > > ================================================================= > ==3508695==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f023a014082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f023a014082 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 > > ================================================================= > ==3508698==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4a8f314082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4a8f314082 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 > > ================================================================= > ==3508697==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f800b7e0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f800b7e0082 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 > > ================================================================= > ==3508738==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 120 byte(s) in 1 object(s) allocated from: > #0 0x55145d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55145d) > #1 0x30bf5bd in OptionsIO::setArgs(int, char**) /home/delphi/clangDebug/sumo/src/utils/options/OptionsIO.cpp:61:24 > #2 0x5550f6 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:92:9 > #3 0x7fc35dbfc082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 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 > > ================================================================= > ==3508735==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc09f89 in MSVehicleControl::removePending() /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:157:31 > #9 0xe866e3 in MSEdgeControl::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEdgeControl.cpp:240:47 > #10 0x56c546 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:666:18 > #11 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #12 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #13 0x7fd60d16e082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 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 > > ================================================================= > ==3508747==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe1c5ea0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe1c5ea0082 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 > > ================================================================= > ==3508766==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc63bf64082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc63bf64082 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 > > ================================================================= > ==3508802==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5bdce9a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f5bdce9a082 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 > > ================================================================= > ==3508870==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f507a777082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f507a777082 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 > > ================================================================= > ==3508873==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fea03745082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fea03745082 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 > > ================================================================= > ==3508872==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5a4b508082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f5a4b508082 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 > > ================================================================= > ==3508900==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x17bcccc in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:295:21 > #5 0x30d93c3 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 0x7f5ea1f0b5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5ea0c59082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3508915==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x17bcccc in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:295:21 > #5 0x30d93c3 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 0x7f2fac5d15ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2fab31f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==3508916==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fc47652f5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc47527d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3508946==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcb90a97082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x1213b18 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fcb90a97082 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 > > ================================================================= > ==3509010==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1f67dcc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1f67dcc082 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 > > ================================================================= > ==3509016==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcb50e89082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3509027==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0051568082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0051568082 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 > > ================================================================= > ==3509040==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd1dd14a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd1dd14a082 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 > > ================================================================= > ==3509049==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa7f1af5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3509063==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f55dfa54082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f55dfa54082 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 > > ================================================================= > ==3509069==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5a29c47082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f5a29c47082 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 > > ================================================================= > ==3509071==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd768fec082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd768fec082 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 > > ================================================================= > ==3509102==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fecb3483082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fecb3483082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3513859==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0be35ac082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0be35ac082 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 > > ================================================================= > ==3513858==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa5e3f80082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa5e3f80082 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 > > ================================================================= > ==3513857==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 528 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x212f685 in MSCalibrator::setFlow(long long, long long, double, double, SUMOVehicleParameter) /home/delphi/clangDebug/sumo/src/microsim/trigger/MSCalibrator.cpp:701:30 > #2 0x159b739 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 0x12e7edd in TraCIServerAPI_Calibrator::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Calibrator.cpp:78:17 > #4 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #5 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #6 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #7 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #8 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #9 0x7fdc1016d082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 > > ================================================================= > ==3513867==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4011f75082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4011f75082 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 > > ================================================================= > ==3505616==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58fdcd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58fdcd) > #1 0x7f29d3ead2f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bf53d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bf53d) > #1 0x600955 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:694:28 > #2 0x5d24e7 in GUIApplicationWindow::dependentBuild(bool) /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:269:5 > #3 0x5c2d17 in main /home/delphi/clangDebug/sumo/src/guisim_main.cpp:86:17 > #4 0x7f29cfdee082 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 0x58ff42 in calloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58ff42) > #1 0x7f29d3ead93c (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x2193c) > > Indirect leak of 9 byte(s) in 1 object(s) allocated from: > #0 0x57c174 in strdup (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x57c174) > #1 0x7f29d3eacb64 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 > > ================================================================= > ==3507500==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7996d64082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7996d64082 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 > > ================================================================= > ==3507594==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58fdcd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58fdcd) > #1 0x7f07650a22f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bf53d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bf53d) > #1 0x7f074e9bc0cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bf53d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bf53d) > #1 0x600955 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:694: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 > > ================================================================= > ==3507656==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa573be0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa573be0082 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 > > ================================================================= > ==3507910==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58fdcd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58fdcd) > #1 0x7f27799f82f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bf53d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bf53d) > #1 0x7f27626cf0cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bf53d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bf53d) > #1 0x600955 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:694: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 > > ================================================================= > ==3507974==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7eff3add5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 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 > > ================================================================= > ==3506661==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6f2d3da082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6f2d3da082 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 > > ================================================================= > ==3506140==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7faa51b8d082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7faa51b8d082 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/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 > /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 > > ================================================================= > ==3506135==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58fdcd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58fdcd) > #1 0x7f83f583e2f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bf53d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bf53d) > #1 0x7f83de5140cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bf53d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bf53d) > #1 0x600955 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:694: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 > > ================================================================= > ==3507357==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7701dcc082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7701dcc082 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 > > ================================================================= > ==3506400==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 448 byte(s) in 4 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4ba4f76082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4ba4f76082 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 > > ================================================================= > ==3507491==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa5a9879082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa5a9879082 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 > > ================================================================= > ==3506970==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 448 byte(s) in 4 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f65fccac082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f65fccac082 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 > > ================================================================= > ==3507336==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd8de42e082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd8de42e082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3505949==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9e12437082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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/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) <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 > > ================================================================= > ==3505628==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ffb520cf082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ffb520cf082 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/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 > > ================================================================= > ==3505649==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58fdcd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58fdcd) > #1 0x7f276b6bc2f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bf53d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bf53d) > #1 0x7f27543910cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bf53d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bf53d) > #1 0x600955 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:694: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 > > ================================================================= > ==3509728==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fbd577af5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbd564fd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509758==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f3d0532a5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3d04078082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509781==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fe74e1445ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe74ce92082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509808==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f0eb33bf5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0eb210d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509773==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f0b84c255ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0b83973082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509777==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fa0d85c25ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa0d7310082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > ================================================================= > ==3509721==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b000048d90 at pc 0x00000121831b bp 0x7ffe6528a010 sp 0x7ffe6528a008 > WRITE of size 8 at 0x60b000048d90 thread T0 > #0 0x121831a in TraCIServer::cleanup() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:758:45 > #1 0x121742f in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:365:5 > #2 0x121a723 in TraCIServer::close() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:394:5 > #3 0x5568c2 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:128:5 > #4 0x7f7699834082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > #5 0x4a949d in _start (/home/delphi/clangDebug/sumo/bin/sumoD+0x4a949d) > > 0x60b000048d90 is located 0 bytes inside of 112-byte region [0x60b000048d90,0x60b000048e00) > freed by thread T0 here: > #0 0x551bad in operator delete(void*) (/home/delphi/clangDebug/sumo/bin/sumoD+0x551bad) > #1 0x12172c7 in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:363:9 > #2 0x121a723 in TraCIServer::close() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:394:5 > #3 0x5568c2 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:128:5 > #4 0x7f7699834082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > previously allocated by thread T0 here: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 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 > > ================================================================= > ==3510009==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb42f3d7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 > > ================================================================= > ==3509908==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fdffc0975ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdffade5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509986==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f6072a6b5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f60717b9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509809==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f9fd0dea5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9fcfb38082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509812==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f5eb16845ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5eb03d2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509870==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f311039a5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f310f0e8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509871==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f0812ff35ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0811d41082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509726==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f8f36cd75ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8f35a25082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509730==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f46ff1505ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f46fde9e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3510750==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f9cbe28f5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0xb61ecb in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:737:30 > #2 0x13d63eb in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:752:124 > #3 0x13c2796 in double MSLane::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSLane.h:1095:23 > #4 0x13b43d1 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 0x13be9ff 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 0x1299d7f in TraCIServerAPI_Edge::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Edge.cpp:53:14 > #7 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #8 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #9 0x5692ff 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 > > ================================================================= > ==3505269==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1824 byte(s) in 12 object(s) allocated from: > #0 0x5bf53d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bf53d) > #1 0xadc94b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:737:30 > #2 0x1574392 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0x1ef50f0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0x209b410 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xb04502 in GUIVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/guisim/GUIVehicleControl.cpp:53:5 > #6 0x17b5cb6 in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:245:57 > #7 0x1adbb4f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #8 0x91467e in GUINet::simulationStep() /home/delphi/clangDebug/sumo/src/guisim/GUINet.cpp:232:12 > #9 0x6d7b08 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 > > ================================================================= > ==3505166==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58fdcd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58fdcd) > #1 0x7ff78922b2f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bf53d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bf53d) > #1 0x7ff771efe0cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bf53d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bf53d) > #1 0x600955 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:694: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 > > ================================================================= > ==3505172==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58fdcd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58fdcd) > #1 0x7f82679992f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bf53d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bf53d) > #1 0x7f825066e0cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bf53d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bf53d) > #1 0x600955 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:694: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 > > ================================================================= > ==3505218==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x58fdcd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x58fdcd) > #1 0x7fcfeb7012f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5bf53d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bf53d) > #1 0x7fcfd48700cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5bf53d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5bf53d) > #1 0x600955 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:694: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 > > ================================================================= > ==3513480==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fa3e22d0f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 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 > > ================================================================= > ==3513482==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f71f0f54082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f71f0f54082 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 > > ================================================================= > ==3513570==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f18929075ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1891655082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3513484==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7efc6c75d5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efc6b4ab082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3513512==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f3ee91285ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3ee7e76082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3513005==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbb2817b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fbb2817b082 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 > > ================================================================= > ==3510695==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe6b6b5d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe6b6b5d082 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 > > ================================================================= > ==3510693==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 152 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0xb61ecb in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:737:30 > #2 0x13d63eb in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:752:124 > #3 0x13c2796 in double MSLane::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSLane.h:1095:23 > #4 0x14ef62c 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 0x14f96bd 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 0x12a7cd3 in TraCIServerAPI_Lane::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Lane.cpp:50:14 > #7 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #8 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #9 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #10 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #12 0x7f7f9ed8e082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3510697==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f14cc2c4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f14cc2c4082 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 > > ================================================================= > ==3510739==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 152 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0xb61ecb in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:737:30 > #2 0x13d63eb in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:752:124 > #3 0x13c2796 in double MSLane::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSLane.h:1095:23 > #4 0x14ef62c 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 0x14f96bd 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 0x12a7cd3 in TraCIServerAPI_Lane::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Lane.cpp:50:14 > #7 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #8 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #9 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #10 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #12 0x7fe63102c082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3513578==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8e5c603082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8e5c603082 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 > > ================================================================= > ==3513580==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7cb8e6c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7cb8e6c082 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 > > ================================================================= > ==3513581==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f46a6164082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f46a6164082 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 > > ================================================================= > ==3513576==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3cb44f5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3cb44f5082 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 > > ================================================================= > ==3513924==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f34b145f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f34b145f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3509186==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7ff4ca8e75ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff4c9635082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509194==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fad302755ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fad2efc3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509203==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f360dce85ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f360ca36082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 1a6,406 > > ================================================================= > ==3509678==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0xef5cf6 in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:245:57 > #11 0x56d88f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #12 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #13 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #14 0x7f28d5ca1082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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,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 > > ================================================================= > ==3509366==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x16fe649 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 0x1391735 in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:1103:17 > #12 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #13 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #14 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #15 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #16 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #17 0x7fc40f4c7082 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 > > ================================================================= > ==3509619==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 4576 byte(s) in 22 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x15fb9fa 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:693:51 > #2 0x130bb52 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f80be04c082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 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 > > ================================================================= > ==3509660==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 4576 byte(s) in 22 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x15fb9fa 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:693:51 > #2 0x130bb52 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f780225a082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 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 > > ================================================================= > ==3509648==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 4576 byte(s) in 22 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x15fb9fa 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:693:51 > #2 0x130bb52 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7ffa274a3082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 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 > > ================================================================= > ==3509662==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 416 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x15fb9fa 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:693:51 > #2 0x130bb52 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f96b5b15082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f96b5b15082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) <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 > > ================================================================= > ==3509602==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f685994c5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f685869a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509560==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f43ce3165ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f43cd064082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509591==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f2a15ba55ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2a148f3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509596==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fc6c08f65ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc6bf644082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509416==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f2b69a5d5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2b687ab082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 > > ================================================================= > ==3509412==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fe3a6e1e5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe3a5b6c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509446==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fa62aa6c5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa6297ba082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509387==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc7df52e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc7df52e082 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 > > ================================================================= > ==3509392==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f62922dc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f62922dc082 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 > > ================================================================= > ==3509411==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2f7a124082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2f7a124082 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 > > ================================================================= > ==3509377==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd0f9f1b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd0f9f1b082 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 > > ================================================================= > ==3509500==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f15d4725082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f15d4725082 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 > > ================================================================= > ==3509552==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7445384082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7445384082 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 > > ================================================================= > ==3509525==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8741b3b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8741b3b082 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 > > ================================================================= > ==3509502==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8cbf215082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8cbf215082 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 > > ================================================================= > ==3509532==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f24789a9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f24789a9082 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 > > ================================================================= > ==3509558==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd45ff5c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd45ff5c082 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 > > ================================================================= > ==3509206==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fbb4a2c85ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 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 > > ================================================================= > ==3509226==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7efdf5b5b5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efdf48a9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509343==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f2ac846c5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2ac71ba082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509332==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f3ad17665ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3ad04b4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509344==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fcf125a55ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcf112f3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509341==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fcf696f15ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcf6843f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3509350==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7ff2700205ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff26ed6e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 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 > > ================================================================= > ==3513590==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa4e00f5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa4e00f5082 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 > > ================================================================= > ==3513882==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1216 byte(s) in 8 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0xb61ecb in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:737:30 > #2 0x1e880de 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 0x1e868e3 in MSDevice_ElecHybrid::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ElecHybrid.cpp:123:43 > #4 0x1b91c37 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:117:5 > #5 0xd19cfa in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #6 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #7 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #8 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #9 0xef5cf6 in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:245:57 > #10 0x56d88f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #11 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #12 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #13 0x7f4272c31082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x2c80c50 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 0x2c80b7d 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 0x2c8082c 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 > > ================================================================= > ==3513876==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3d1fc9a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3d1fc9a082 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 > > ================================================================= > ==3512935==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f3be1aea5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3be0838082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3512920==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 480 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x131bc5e in TraCIServerAPI_Simulation::readStage(TraCIServer&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:452:19 > #2 0x12bfa59 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:237:55 > #3 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f4be9821082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4be9821082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) <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 > > ================================================================= > ==3513000==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f14b13ab5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f14b00f9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3512980==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x17bcccc in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:295:21 > #5 0x30d93c3 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 0x7fd7eba595ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd7ea7a7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3512986==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x17bcccc in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:295:21 > #5 0x30d93c3 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 0x7f9ea50135ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9ea3d61082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==3512841==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f67b04415ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f67af18f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3512878==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f6e2a0675ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6e28db5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3512843==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f98006b05ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f97ff3fe082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3512861==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fa62d4575ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa62c1a5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3512703==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x24d6f68 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:592:24 > #2 0x14292d7 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:1383:8 > #3 0x1542317 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 0x12c8240 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f070f5fa082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f07108ac5ae 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 > > ================================================================= > ==3512707==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x24d6f68 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:592:24 > #2 0x14292d7 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:1383:8 > #3 0x1542317 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 0x12c8240 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f2c57851082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f2c58b035ae 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 > > ================================================================= > ==3512766==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x24d6f68 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:592:24 > #2 0x14292d7 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:1383:8 > #3 0x1542317 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 0x12c8240 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fe2dc6b6082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fe2dd9685ae 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 > > ================================================================= > ==3512773==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x24d6f68 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:592:24 > #2 0x14292d7 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:1383:8 > #3 0x1542317 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 0x12c8240 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f4f445fd082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f4f458af5ae 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 > > ================================================================= > ==3512780==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x24d6f68 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:592:24 > #2 0x14292d7 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:1383:8 > #3 0x1542317 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 0x12c8240 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fad07e98082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fad0914a5ae 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 > > ================================================================= > ==3512821==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x24d6f68 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:592:24 > #2 0x14292d7 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:1383:8 > #3 0x1542317 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 0x12c8240 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fbd24142082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fbd253f45ae 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 > > ================================================================= > ==3512826==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x24d6f68 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:592:24 > #2 0x14292d7 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:1383:8 > #3 0x1542317 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 0x12c8240 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f14468ae082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f1447b605ae 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 > > ================================================================= > ==3512833==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x24d6f68 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:592:24 > #2 0x14292d7 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:1383:8 > #3 0x1542317 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 0x12c8240 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f0cc80df082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f0cc93915ae 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 > > ================================================================= > ==3512839==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x24d6f68 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:592:24 > #2 0x14292d7 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:1383:8 > #3 0x1542317 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 0x12c8240 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f699225d082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f699350f5ae 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 > > ================================================================= > ==3512757==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x24d6f68 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:592:24 > #2 0x14292d7 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:1383:8 > #3 0x1542317 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 0x12c8240 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f9525dbc082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f952706e5ae 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 > > ================================================================= > ==3512708==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x24d6f68 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:592:24 > #2 0x14292d7 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:1383:8 > #3 0x1542317 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 0x12c8240 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f150e309082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f150f5bb5ae 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 > > ================================================================= > ==3512732==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x24d6f68 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:592:24 > #2 0x14292d7 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:1383:8 > #3 0x1542317 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 0x12c8240 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fe37a9af082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fe37bc615ae 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 > > ================================================================= > ==3512718==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x24d6f68 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:592:24 > #2 0x14292d7 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:1383:8 > #3 0x1542317 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 0x12c8240 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f4ddff55082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f4de12075ae 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 > > ================================================================= > ==3512752==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x24d6f68 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:592:24 > #2 0x14292d7 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:1383:8 > #3 0x1542317 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 0x12c8240 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #8 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f8133b91082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f8134e435ae 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 > > ================================================================= > ==3512884==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 480 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x131bc5e in TraCIServerAPI_Simulation::readStage(TraCIServer&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:452:19 > #2 0x12c4511 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:330:68 > #3 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f7b1695b082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x131bc5e in TraCIServerAPI_Simulation::readStage(TraCIServer&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:452:19 > #2 0x12bfa59 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:237:55 > #3 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55546d 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 4a9,380 > > ================================================================= > ==3512900==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f6f819d75ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6f80725082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==3512911==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f3ecf7475ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3ece495082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==3512967==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7ff6ba3cf5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff6b911d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3512973==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f4a50fa95ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4a4fcf7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3512953==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 208 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x15fb9fa 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:693:51 > #2 0x130bb52 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f0ea70ac082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f0ea835e5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) <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 0x606000086180 which does not point to an object of type 'ParametrisedWrappingCommand<ShapeContainer, PolygonDynamics *>' > 0x606000086180: note: object has invalid vptr > 21 00 00 09 23 00 80 4d 00 00 00 00 00 00 00 00 be be be be 80 8a 00 00 30 61 00 00 20 cb 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 0x606000086180 which does not point to an object of type 'ParametrisedWrappingCommand<ShapeContainer, PolygonDynamics *>' > 0x606000086180: note: object has invalid vptr > 21 00 00 09 23 00 80 4d 00 00 00 00 00 00 00 00 be be be be 80 8a 00 00 30 61 00 00 20 cb 02 00 > ^~~~~~~~~~~~~~~~~~~~~~~ > invalid vptr > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/common/ParametrisedWrappingCommand.h:66:9 in > ================================================================= > ==3513618==ERROR: AddressSanitizer: heap-use-after-free on address 0x6060000861b0 at pc 0x000003030ccb bp 0x7ffea6a3dd50 sp 0x7ffea6a3dd48 > WRITE of size 1 at 0x6060000861b0 thread T0 > #0 0x3030cca in ParametrisedWrappingCommand<ShapeContainer, PolygonDynamics*>::deschedule() /home/delphi/clangDebug/sumo/src/utils/common/ParametrisedWrappingCommand.h:66:33 > #1 0x3024d72 in ShapeContainer::~ShapeContainer() /home/delphi/clangDebug/sumo/src/utils/shapes/ShapeContainer.cpp:51:19 > #2 0x3025584 in ShapeContainer::~ShapeContainer() /home/delphi/clangDebug/sumo/src/utils/shapes/ShapeContainer.cpp:49:35 > #3 0x5629a5 in MSNet::~MSNet() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:315:5 > #4 0x564f44 in MSNet::~MSNet() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:291:17 > #5 0x555671 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:99:17 > #6 0x7f2dc26fc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > #7 0x4a949d in _start (/home/delphi/clangDebug/sumo/bin/sumoD+0x4a949d) > > 0x6060000861b0 is located 48 bytes inside of 56-byte region [0x606000086180,0x6060000861b8) <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 > > ================================================================= > ==3513631==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2b1bfb9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2b1bfb9082 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 > > ================================================================= > ==3513619==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb4d0564082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3513620==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff0cd383082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x1213182 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,290 > > ================================================================= > ==3513926==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ffbc19e2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ffbc19e2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3513458==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 208 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x15929ea 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 0x12e4517 in TraCIServerAPI_Route::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Route.cpp:74:17 > #3 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f041c7fa082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f041c7fa082 in __libc_start_main /build/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 > > ================================================================= > ==3513933==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 4096 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fda13418f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 > > ================================================================= > ==3513800==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xf89881 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:1998:31 > #9 0xf92f68 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:1877:9 > #10 0xf7ccff 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:1648:13 > #11 0xe8985f 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 0x56c7b2 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:668:22 > #13 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #14 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #15 0x7fc837ace082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) <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 > > ================================================================= > ==3513822==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 40 byte(s) in 1 object(s) allocated from: > #0 0x55145d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55145d) > #1 0x30bf5bd in OptionsIO::setArgs(int, char**) /home/delphi/clangDebug/sumo/src/utils/options/OptionsIO.cpp:61:24 > #2 0x5550f6 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:92:9 > #3 0x7f1faecb2082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1faecb2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 > > ================================================================= > ==3513722==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0xef5cf6 in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:245:57 > #11 0x56d88f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #12 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #13 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #14 0x7fd5c502c082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 > > ================================================================= > ==3513714==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xce10c1 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcddc49 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7fc9b72c0f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f 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 > > ================================================================= > ==3513767==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f173b0cd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f173b0cd082 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 > > ================================================================= > ==3513718==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f966715c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f966715c082 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 > > ================================================================= > ==3513743==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x17bcccc in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:295:21 > #5 0x30d93c3 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 0x7fa40dcc85ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa40ca16082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==3513751==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x17bcccc in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:295:21 > #5 0x30d93c3 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 0x7fc8ec0a95ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc8eadf7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==3513761==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcd1260 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30d93c3 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 0x7f07188f25ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x17bcccc in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:295:21 > #5 0x30d93c3 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 0x7f07188f25ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f 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,336 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 45100000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > /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 > > ================================================================= > ==3513663==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f924c325082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <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 > > ================================================================= > ==3513645==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f11c0166082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f11c0166082 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 > > ================================================================= > ==3513692==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xce10c1 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcddc49 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7f26f4c47f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 > > ================================================================= > ==3513730==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f65d2372f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 > > ================================================================= > ==3513729==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7a13b59082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7a13b59082 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 > > ================================================================= > ==3513725==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6aae0a7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6aae0a7082 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 > > ================================================================= > ==3513798==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 832 byte(s) in 4 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x15fb9fa 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:693:51 > #2 0x130bb52 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7faeb6eec082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x15f2a6c 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:573:43 > #2 0x1308473 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:227:56 > #3 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #6 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #7 0x55546d 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 > > ================================================================= > ==3513340==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3513305==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3513341==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3513306==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3513335==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3513433==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4021efd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4021efd082 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 > > ================================================================= > ==3513429==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f646764b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f646764b082 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 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 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 50000000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > > ================================================================= > ==3513012==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7eff2a0f0f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) <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 > > ================================================================= > ==3513058==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f4ce462ff52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3513102==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fbfd09d0f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3513118==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f525c08ef52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3513088==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f2a8d438f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3513103==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f92bc4e9f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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,336 > /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 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 51223846 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > > ================================================================= > ==3513134==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7ffa41744f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) <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,337 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 51223846 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > > ================================================================= > ==3513135==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fa377eb7f52 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: <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 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 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 51223846 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > > ================================================================= > ==3513147==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7ff04d212f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) <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,337 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 51223846 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > > ================================================================= > ==3513146==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fc5cb3fdf52 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: <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,340 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 51223846 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > > ================================================================= > ==3513150==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fa7d9dd7f52 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: <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,338 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 51223846 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > > ================================================================= > ==3513169==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f48f23dcf52 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: <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,337 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 51223846 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > > ================================================================= > ==3513190==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fa9b906df52 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: <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,338 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 51223846 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > > ================================================================= > ==3513193==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f6c8d1f7f52 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: <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,336 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 50000000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > /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 > > ================================================================= > ==3513297==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f604b9bef52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) <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 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 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 51223846 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > > ================================================================= > ==3513242==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fae1cb94f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) <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,337 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 50000000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > > ================================================================= > ==3513298==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fcb27af0f52 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: <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,376 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 50000000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > > ================================================================= > ==3513304==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fd8b6192f52 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: <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 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 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 50000000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > > ================================================================= > ==3513290==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7faf52aeff52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) <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 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 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 50000000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > > ================================================================= > ==3513228==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fc7c7b2ff52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) <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,7 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 50000000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in 5a12,373 > > ================================================================= > ==3513231==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xd2b95e 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 0xa26ea6 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 0xd27ba8 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 0xd224cf 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 0x1f2a503 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 0x1da51f1 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:293:5 > #14 0x1da0c4b in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:258:13 > #15 0x1daa2ce in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104: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 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 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 50000000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in 4a11,348 > > ================================================================= > ==3513239==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fa18143df52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) <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,337 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 50000000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > > ================================================================= > ==3513032==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f1fc83def52 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: <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,339 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 50000000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > > ================================================================= > ==3513037==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xce10c1 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcddc49 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7f4b58b66f52 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) > <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 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 50000000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > > ================================================================= > ==3513125==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fbe84936f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f 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 4a9,259 > > ================================================================= > ==3513386==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f72389f5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3513387==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa38f12d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,339 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 135100000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in > /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 > > ================================================================= > ==3513423==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7efc8c39ff52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) <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 > > ================================================================= > ==3513390==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3c65b35082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3c65b35082 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,11 > /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 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 512350000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in 2a13,1011 > LLVMSymbolizer: error reading file: No such file or directory > > ================================================================= > ==3513426==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1840 byte(s) in 5 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x20140a8 in MSEdge::getRailwayRoutingEdge() const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:820:36 > #2 0x1f3500a 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 0x1f2871b in MSRoutingEngine::initRouter(SUMOVehicle*) /home/delphi/clangDebug/sumo/src/microsim/devices/MSRoutingEngine.cpp:420:26 > #4 0x1f2974f 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 0x1da51f1 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:293:5 > #6 0x1da0c4b in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:258:13 > #7 0x1daa2ce in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104:16 > #8 0xede0e0 in MSEventControl::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEventControl.cpp:69:33 > #9 0x56db85 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:24 > #10 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55546d 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 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 > > ================================================================= > ==3513361==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb0c186e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,251 > > ================================================================= > ==3513927==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8564500082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8564500082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3512303==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1d1c6a8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1d1c6a8082 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 > > ================================================================= > ==3512334==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff43d41b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff43d41b082 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 > > ================================================================= > ==3512294==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff88520c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff88520c082 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 > > ================================================================= > ==3512347==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcec7f0a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fcec7f0a082 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 > > ================================================================= > ==3512343==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f927bc3b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3512348==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5b75c45082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3512340==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe741c23082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x1213b18 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe741c23082 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 > > ================================================================= > ==3512341==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7801aa9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7801aa9082 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 > > ================================================================= > ==3511094==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa201aed082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa201aed082 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 > > ================================================================= > ==3511130==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5f4b9ca082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f5f4b9ca082 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 > > ================================================================= > ==3511127==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0908094082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0908094082 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 > > ================================================================= > ==3511143==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe8d4542082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe8d4542082 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 > > ================================================================= > ==3511169==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9fb427d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3511100==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f24022e4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f24022e4082 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 > > ================================================================= > ==3511166==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3157cd1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3157cd1082 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 > > ================================================================= > ==3511252==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8cb550e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8cb550e082 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 > > ================================================================= > ==3511209==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7febac81b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7febac81b082 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 > > ================================================================= > ==3511199==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcabccbd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fcabccbd082 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 > > ================================================================= > ==3511228==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9c47716082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9c47716082 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 > > ================================================================= > ==3511223==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3511233==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fafcf615082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3511167==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f333650b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f333650b082 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 > > ================================================================= > ==3511251==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8291777082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8291777082 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 > > ================================================================= > ==3511257==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f456f718082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f456f718082 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 > > ================================================================= > ==3511265==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f074f7d5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f074f7d5082 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 > > ================================================================= > ==3511266==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5ebe2ff082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f5ebe2ff082 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 > > ================================================================= > ==3511330==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f98f9d34082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f98f9d34082 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 > > ================================================================= > ==3511304==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2c4bc22082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2c4bc22082 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 > > ================================================================= > ==3511302==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4bd2ec5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4bd2ec5082 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 > > ================================================================= > ==3511306==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f85ace8d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f85ace8d082 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 > > ================================================================= > ==3511315==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f112b808082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f112b808082 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 > > ================================================================= > ==3512426==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd5fdc35082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd5fdc35082 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 > > ================================================================= > ==3512620==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc425e28082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc425e28082 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 > > ================================================================= > ==3512521==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f28f1622082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f28f1622082 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 > > ================================================================= > ==3512613==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1ed8f4d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3512612==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fc761d6df52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 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 > > ================================================================= > ==3512474==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f04a8841f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3512470==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fd3c93a3f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3512471==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 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 > > ================================================================= > ==3512522==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f919efcc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x1213b18 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f919efcc082 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 > > ================================================================= > ==3512660==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3512007==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xd2b95e 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 0xa26ea6 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 0xd27ba8 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 0xd78866 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 0x16e0de8 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 0x139d614 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 0x1376887 in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:493:22 > #15 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #16 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #17 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3511873==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9d3721f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9d3721f082 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 > > ================================================================= > ==3511923==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f342553b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3511891==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa93d4bd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa93d4bd082 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 > > ================================================================= > ==3511874==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f74b0919082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f74b0919082 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 > > ================================================================= > ==3511900==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6663e7f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6663e7f082 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 > > ================================================================= > ==3511905==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f93bddc0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x1213182 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3512031==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f77295ad082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3512005==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fee1fef2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fee1fef2082 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 > > ================================================================= > ==3512060==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd722298082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd722298082 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 > > ================================================================= > ==3512034==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2f4aee7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3511906==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9760505082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9760505082 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 > > ================================================================= > ==3511902==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd0962b0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd0962b0082 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 > > ================================================================= > ==3512002==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f49832d9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f49832d9082 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 > > ================================================================= > ==3511952==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5fe5e5d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x1213182 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,10 > /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 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 10000000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in 18a29,1360 > LLVMSymbolizer: error reading file: No such file or directory > > ================================================================= > ==3511965==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 16192 byte(s) in 44 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x20140a8 in MSEdge::getRailwayRoutingEdge() const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:820:36 > #2 0x1f3500a 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 0x1f2871b in MSRoutingEngine::initRouter(SUMOVehicle*) /home/delphi/clangDebug/sumo/src/microsim/devices/MSRoutingEngine.cpp:420:26 > #4 0x1f2974f 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 0x1da51f1 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:293:5 > #6 0x1da0c4b in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:258:13 > #7 0x1daa2ce in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104:16 > #8 0xede0e0 in MSEventControl::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEventControl.cpp:69:33 > #9 0x56db85 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:24 > #10 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55546d 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 2a7,407 > > ================================================================= > ==3511957==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd8246d0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x1213182 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3512003==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fabc2afd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fabc2afd082 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 > > ================================================================= > ==3512006==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe80d124082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe80d124082 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 > > ================================================================= > ==3512053==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd9e6330082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3512634==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fceed92f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3510782==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f5ef3871f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 > > ================================================================= > ==3510783==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 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 > > ================================================================= > ==3510785==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 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 > > ================================================================= > ==3510793==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 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 > > ================================================================= > ==3510830==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 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 > > ================================================================= > ==3510834==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 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 > > ================================================================= > ==3511093==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8bc2474082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8bc2474082 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 > > ================================================================= > ==3511068==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc683ec0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc683ec0082 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 > > ================================================================= > ==3511092==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fee39678082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fee39678082 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 > > ================================================================= > ==3511059==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe454d53082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210e5c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3510955==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd15f705082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3510890==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fba535a3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3510889==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdab7b2a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3510898==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc2f9305082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc2f9305082 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 > > ================================================================= > ==3511027==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7c60742082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7c60742082 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 > > ================================================================= > ==3511031==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2ac5932082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2ac5932082 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 > > ================================================================= > ==3511046==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff972c49082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff972c49082 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 > > ================================================================= > ==3510923==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd3e52c6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd3e52c6082 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 > > ================================================================= > ==3510832==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc37d21d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc37d21d082 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 > > ================================================================= > ==3510977==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f53f850f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f53f850f082 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 > > ================================================================= > ==3510978==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f72ed31d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f72ed31d082 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 > > ================================================================= > ==3510966==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f986225f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3510835==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f80382d3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f80382d3082 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 > > ================================================================= > ==3510837==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0f94bb8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0f94bb8082 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 > > ================================================================= > ==3510971==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbb5d233082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fbb5d233082 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 > > ================================================================= > ==3511054==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f56393b8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3510918==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efe864ff082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7efe864ff082 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 > > ================================================================= > ==3510888==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6550ce6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6550ce6082 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 > > ================================================================= > ==3510960==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6f8e509082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6f8e509082 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 > > ================================================================= > ==3511050==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb483cae082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb483cae082 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 > > ================================================================= > ==3510944==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1462c01082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1462c01082 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 > > ================================================================= > ==3512432==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1637424082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3511414==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f993c4b0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f993c4b0082 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 > > ================================================================= > ==3511411==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4278c9d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4278c9d082 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 > > ================================================================= > ==3511388==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f86ffd6e5fe 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3511458==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fa4482ec5fe 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3511410==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f87df8625fe 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3511457==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fa828a9d5fe 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3511467==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7ff4f71175fe 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3511451==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7feac100b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3511365==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe03ffd4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe03ffd4082 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 > > ================================================================= > ==3511384==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f672d2ab082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f672d2ab082 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 > > ================================================================= > ==3511367==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6fa6354082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6fa6354082 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 > > ================================================================= > ==3511333==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5716aff082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f5716aff082 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 > > ================================================================= > ==3511447==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1e088f8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1e088f8082 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 > > ================================================================= > ==3512527==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55145d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55145d) > #1 0x30bf5bd in OptionsIO::setArgs(int, char**) /home/delphi/clangDebug/sumo/src/utils/options/OptionsIO.cpp:61:24 > #2 0x5550f6 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:92:9 > #3 0x7f28d8621082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f28d8621082 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 0x55145d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55145d) > #1 0x30bf86f in OptionsIO::setArgs(int, char**) /home/delphi/clangDebug/sumo/src/utils/options/OptionsIO.cpp:64:24 > #2 0x5550f6 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:92:9 > #3 0x7f28d8621082 in __libc_start_main /build/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 > > ================================================================= > ==3511763==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xd2b95e 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 0xa26ea6 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 0xd27ba8 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 0xd6c427 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 0x16e02ab 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 0x139d37d 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 0x137674f in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:488:22 > #15 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #16 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #17 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3511564==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6cf30d1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6cf30d1082 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 > > ================================================================= > ==3511581==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f188e2ea082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f188e2ea082 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 > > ================================================================= > ==3511577==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0d37798082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0d37798082 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 > > ================================================================= > ==3511583==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fef82fce082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fef82fce082 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 > > ================================================================= > ==3511825==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe2416b5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe2416b5082 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 > > ================================================================= > ==3511865==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4bc69b6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4bc69b6082 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 > > ================================================================= > ==3511863==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f23fa79d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 > > ================================================================= > ==3511602==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fad7b5c7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x1213182 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3511760==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f07e68ae082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3511714==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3081cc0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3081cc0082 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 > > ================================================================= > ==3511756==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa37f4c7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa37f4c7082 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 > > ================================================================= > ==3511717==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8148465082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8148465082 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 > > ================================================================= > ==3511757==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f381a21e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x1213182 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3511811==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc904bf7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc904bf7082 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 > > ================================================================= > ==3511766==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1f4d409082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3511629==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f51a55f4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f51a55f4082 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 > > ================================================================= > ==3511648==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xd2b95e 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 0xa26ea6 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 0xd27ba8 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 0xd70ec5 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 0x16df707 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 0x139d37d 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 0x137674f in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:488:22 > #15 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #16 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #17 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #18 0x567fe4 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 > > ================================================================= > ==3511622==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f09cc09f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f09cc09f082 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 > > ================================================================= > ==3511613==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f87a4279082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f87a4279082 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 > > ================================================================= > ==3511712==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb7931ec082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x1213b18 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb7931ec082 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 > > ================================================================= > ==3511623==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6b04d7b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6b04d7b082 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 > > ================================================================= > ==3511669==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f170de93082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f170de93082 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 > > ================================================================= > ==3511798==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f83dd5505ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f83dc29e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 > > ================================================================= > ==3511670==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f72b3329082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x1213182 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,10 > /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 > /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24: runtime error: signed integer overflow: 9223372036854775807 + 10000000 cannot be represented in type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSLink.cpp:542:24 in 5a16,1394 > LLVMSymbolizer: error reading file: No such file or directory > > ================================================================= > ==3511699==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 16192 byte(s) in 44 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x20140a8 in MSEdge::getRailwayRoutingEdge() const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:820:36 > #2 0x1f3500a 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 0x1f2871b in MSRoutingEngine::initRouter(SUMOVehicle*) /home/delphi/clangDebug/sumo/src/microsim/devices/MSRoutingEngine.cpp:420:26 > #4 0x1f2974f 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 0x1da51f1 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:293:5 > #6 0x1da0c4b in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:258:13 > #7 0x1daa2ce in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104:16 > #8 0xede0e0 in MSEventControl::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEventControl.cpp:69:33 > #9 0x56db85 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:24 > #10 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #11 0x55546d 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 2a7,407 > > ================================================================= > ==3511680==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f587c7d9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x1213182 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3511793==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff548f4d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3512420==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f56db6f1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f56db6f1082 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 > > ================================================================= > ==3512571==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc0a96c8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc0a96c8082 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 > > ================================================================= > ==3512552==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff2da57d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff2da57d082 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 > > ================================================================= > ==3512627==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f11d6a97082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12117f2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f11d6a97082 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 > > ================================================================= > ==3512608==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbfd501a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3511544==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f89018d8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x1213b18 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f89018d8082 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 > > ================================================================= > ==3511529==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f527c942082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x1213b18 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f527c942082 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 > > ================================================================= > ==3511478==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb50f3f6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x1213b18 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb50f3f6082 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 > > ================================================================= > ==3511496==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f96e098c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3511543==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f436a01c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x1213b18 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f436a01c082 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 > > ================================================================= > ==3511552==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8a2df62082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x1213b18 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8a2df62082 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 > > ================================================================= > ==3512557==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f53f1bb2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f53f1bb2082 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 > > ================================================================= > ==3512566==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5e4752f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1211b24 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f5e4752f082 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 > > ================================================================= > ==3510748==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 576 byte(s) in 24 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1c35dd9 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:3281:30 > #2 0x1bd9f65 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:3234:9 > #3 0x1bd183f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:496:9 > #4 0x1bd0e16 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:462:9 > #5 0x5971fa in MSNet::writeOutput() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1057:14 > #6 0x56f0cc in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:721:5 > #7 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #8 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #9 0x7ff9fe4b4082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1c3d6e9 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:3390:26 > #2 0x1c38e98 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:3412:9 > #3 0x1c346e0 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:3461:5 > #4 0x1bd4491 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:3055:9 > #5 0x1bd183f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:496:9 > #6 0x1bd0e16 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:462:9 > #7 0x5971fa 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 > > ================================================================= > ==3510753==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 480 byte(s) in 20 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1c35dd9 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:3281:30 > #2 0x1bd9f65 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:3234:9 > #3 0x1bd183f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:496:9 > #4 0x1bd0e16 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:462:9 > #5 0x5971fa in MSNet::writeOutput() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1057:14 > #6 0x56f0cc in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:721:5 > #7 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #8 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #9 0x7fe0a2fa3082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1c3d6e9 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:3390:26 > #2 0x1c38e98 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:3412:9 > #3 0x1c346e0 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:3461:5 > #4 0x1bd4491 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:3055:9 > #5 0x1bd183f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:496:9 > #6 0x1bd0e16 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:462:9 > #7 0x5971fa 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 > > ================================================================= > ==3512475==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7a5a4d1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7a5a4d1082 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 > > ================================================================= > ==3512517==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2a1d5fb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2a1d5fb082 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 > > ================================================================= > ==3512478==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1e43bd6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x12137e6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <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 > > ================================================================= > ==3512135==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f491358e5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1eb5241 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 0x1ead545 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b91cd6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd19cfa in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x30db148 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 > > ================================================================= > ==3512198==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f47e06715ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1eb5241 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 0x1ead545 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b91cd6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd19cfa in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x30db148 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,445 > /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 > > ================================================================= > ==3512192==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7eff1d4755ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1eb5241 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 0x1ead545 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b91cd6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd19cfa in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x30db148 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 > > ================================================================= > ==3512225==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fdaf13f55ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1eb5241 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 0x1ead545 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b91cd6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd19cfa in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x30db148 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 > > ================================================================= > ==3512215==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f98caed45ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1eb5241 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 0x1ead545 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b91cd6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd19cfa in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x30db148 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 > > ================================================================= > ==3512194==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fc0c5eeb5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1eb5241 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 0x1ead545 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b91cd6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd19cfa in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x30db148 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 > > ================================================================= > ==3512222==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f35f478c5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1eb5241 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 0x1ead545 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b91cd6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd19cfa in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x30db148 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 > > ================================================================= > ==3512208==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f9bc16925ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1eb5241 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 0x1ead545 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b91cd6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd19cfa in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ef4eea 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,485 > /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 > > ================================================================= > ==3512224==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f4046d7d5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1eb5241 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 0x1ead545 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b91cd6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd19cfa in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x30db148 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,450 > /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 > > ================================================================= > ==3512059==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x17bcccc in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:295:21 > #5 0x30d93c3 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 0x7f40cf71f5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1eb5241 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 0x1ead545 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b91cd6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd19cfa in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ef4eea 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 > > ================================================================= > ==3512226==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 4 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f5d97c535ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1eb5241 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 0x1ead545 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b91cd6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd19cfa in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x30db148 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 > > ================================================================= > ==3512265==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 144 byte(s) in 6 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fa7a8ff45ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1eb5241 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 0x1ead545 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b91cd6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd19cfa in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x30db148 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 > > ================================================================= > ==3512246==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f3e597b55ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1eb5241 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 0x1ead545 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b91cd6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd19cfa in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x30db148 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 > > ================================================================= > ==3512137==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f1744ac05ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1eb5241 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 0x1ead545 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b91cd6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd19cfa in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x30db148 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,438 > /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 > > ================================================================= > ==3512175==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 16 byte(s) in 2 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1eb5241 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 0x1ead545 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b91cd6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd19cfa in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8ff132 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2ef4eea in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #12 0x7ff7f8081f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 > > ================================================================= > ==3512367==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1064 byte(s) in 7 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0xb61ecb in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:737:30 > #2 0x13d63eb in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:752:124 > #3 0x16c31a6 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 0x1732f7d 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 0x1356c7c in TraCIServerAPI_Vehicle::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:63:14 > #6 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #7 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #8 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #9 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #10 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #11 0x7f6c7cb2b082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) <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 > > ================================================================= > ==3512370==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1d75e71082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1d75e71082 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 > > ================================================================= > ==3512413==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc0b8b2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd313e7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:545:47 > #10 0xadfc5c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5222:9 > #11 0xf38bb9 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 0xf525d5 in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1225:5 > #13 0xf5e4c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:712:26 > #14 0xde2751 in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xef0827 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xeef781 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56dd60 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:694:17 > #18 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #19 0x55546d 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 > > ================================================================= > ==3512369==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1064 byte(s) in 7 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0xb61ecb in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:737:30 > #2 0x13d63eb in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:752:124 > #3 0x16c31a6 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 0x1732f7d 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 0x1356c7c in TraCIServerAPI_Vehicle::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:63:14 > #6 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #7 0x1226b71 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #8 0x5692ff in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:603:12 > #9 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #10 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #11 0x7f0551bc7082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) <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 > > ================================================================= > ==3512394==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f963dec0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f963dec0082 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 > > ================================================================= > ==3512706==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2ff9d20082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x1210b2a in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3512688==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7531f4b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1263c90 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x1263bbd in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x126386c 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 0x12619e2 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 0x12605f3 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 0x1247a3b 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 0x12107f8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 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 > > ================================================================= > ==3514454==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 85272 byte(s) in 561 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0xb61ecb in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:737:30 > #2 0xd1a302 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xef5cf6 in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:245:57 > #7 0x56d88f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #8 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f7c3a38e082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x2c80c50 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 0x2c80b7d 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 0x2c8082c 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 0x2c86a12 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 0x2c86423 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 0x2c73576 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 > > ================================================================= > ==3514435==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 85576 byte(s) in 563 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0xb61ecb in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:737:30 > #2 0xd1a302 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xef5cf6 in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:245:57 > #7 0x56d88f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #8 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f2b3bda7082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x2c80c50 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 0x2c80b7d 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 0x2c8082c 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 0x2c86a12 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 0x2c86423 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 0x2c73576 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 > > ================================================================= > ==3514407==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 85272 byte(s) in 561 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0xb61ecb in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:737:30 > #2 0xd1a302 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xef5cf6 in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:245:57 > #7 0x56d88f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #8 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fa83d8ba082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x2c80c50 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 0x2c80b7d 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 0x2c8082c 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 0x2c86a12 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 0x2c86423 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 0x2c73576 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 > > ================================================================= > ==3514410==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 85728 byte(s) in 564 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0xb61ecb in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:737:30 > #2 0xd1a302 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xef5cf6 in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:245:57 > #7 0x56d88f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #8 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #9 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f19009c7082 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x2c80c50 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 0x2c80b7d 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 0x2c8082c 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 0x2c86a12 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 0x2c86423 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 0x2c73576 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 > > ================================================================= > ==3514466==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 7776 byte(s) in 324 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fd7484cd5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x2073190 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 0x1eb3cdc 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 0x252ca27 in MSStageDriving::registerWaiting(MSTransportable*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSStageDriving.cpp:290:9 > #4 0x252922e in MSStageDriving::proceed(MSNet*, MSTransportable*, long long, MSStage*) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSStageDriving.cpp:257:9 > #5 0x2551e2b in MSTransportable::proceed(MSNet*, long long, bool) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportable.cpp:119:20 > #6 0x24d5be5 in MSPerson::MSPersonStage_Walking::moveToNextEdge(MSTransportable*, long long, int, MSEdge*) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:328:22 > #7 0x260afb0 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:1122:29 > #8 0x25fd10f 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:1078:13 > #9 0x264921b in MSPModel_Striping::MovePedestrians::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPModel_Striping.cpp:2561:14 > #10 0xede0e0 in MSEventControl::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEventControl.cpp:69:33 > #11 0x56b649 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:640:30 > #12 0x567fe4 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:398:9 > #13 0x55546d in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #14 0x7fd74721b082 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 < Warning: Person 'v-7.5p0' is jammed on edge 'cyber6to7', time=644.00. < Warning: Person 'v7.6p2' is jammed on edge 'cyber6to7', time=648.00. --- > Warning: Person 'v-7.6p0' is jammed on edge 'cyber6to7', time=681.00. 5a5,32 > > ================================================================= > ==3514507==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 7776 byte(s) in 324 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f6bc18b35ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1eb5241 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 0x1ead545 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b91cd6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd19cfa in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0xef5cf6 in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:245:57 > #9 0x56d88f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:689:17 > #10 0x567fe4 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 ---------- 1a2,14 > > ================================================================= > ==3514780==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 4800 byte(s) in 200 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f1f8aab95ae 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 > > ================================================================= > ==3515546==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 2256 byte(s) in 94 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7fb90bc915ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc09f89 in MSVehicleControl::removePending() /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:157:31 > #9 0xe866e3 in MSEdgeControl::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEdgeControl.cpp:240:47 > #10 0x56c546 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:666:18 > #11 0x567fe4 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,515 > /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 > > ================================================================= > ==3514589==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 120 byte(s) in 5 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x92d57b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1508:33 > #2 0x2eebdeb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8c0b51 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x30d93c3 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 0x7f77cfbeb5ae 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1eb54f8 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 0x1ead545 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b91cd6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd19cfa in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:159:5 > #5 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x16fe649 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 0x1391735 in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:1103:17 > #10 0x121d18b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #11 0x1226b71 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 > > ================================================================= > ==3515431==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 2048 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x677f56 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 0x5bf4bb 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 0x121b1cd 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 0x59d0c6 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 0xc08723 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f800c1c1f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 > > ================================================================= > ==3504326==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x121035f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff1c7b21082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x126b250 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 0x126b17d 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 0x126ae2c 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 0x1268fa2 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 0x1267bb3 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 0x124823b 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 0x1213b18 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1219972 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 0x179f089 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5551a4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff1c7b21082 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 0x7f2caa8204c0> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (72.0, 73.0) <zip object at 0x7f2caa867b40> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7f2caa867640> 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 0x7f2caa4e73c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (72.0, 73.0) <zip object at 0x7f2caa7fa780> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7f2caa7fac00> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (100.0, 200.0) <zip object at 0x7f2caa7fa9c0> 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 0x7f2caa85a9c0> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (73.0, 74.0) <zip object at 0x7f2caa7b3380> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7f2caa816cc0> 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 0x7f8f271d80c0> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (148.9, 149.0) <zip object at 0x7f8f26ec2300> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (149.0, 150.0) <zip object at 0x7f8f273a2f80> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (149.0, 150.0) <zip object at 0x7f8f276d5dc0> > failed 10 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (140.0, 150.0) <zip object at 0x7f8f276d7980> > failed 10 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (140.0, 150.0) <zip object at 0x7f8f276d7a40> > failed 100 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (100.0, 200.0) <zip object at 0x7f8f276d7a80> > failed 100 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (100.0, 200.0) <zip object at 0x7f8f276d7880> 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 0x7f93f7f0e4c0> > failed 0.1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.9, 71.0) <zip object at 0x7f93f7edb240> > failed 1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7f93f7f9ed80> > failed 1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7f93f7f28f00> > failed 10 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 80.0) <zip object at 0x7f93f7f28180> > failed 10 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 80.0) <zip object at 0x7f93f7f28540> > failed 100 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (0.0, 100.0) <zip object at 0x7f93f7f28800> > failed 100 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (0.0, 100.0) <zip object at 0x7f93f7f28840> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.9, 71.0) <zip object at 0x7f93f7a000c0> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.9, 71.0) <zip object at 0x7f93f76eafc0> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7f93f7bcca40> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7f93f7f2fcc0> <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 0x7fc68f9af1c0> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (76.0, 77.0) <zip object at 0x7fc68fa3ef80> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fc68f9ea040> 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 0x7fc68f679140> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (76.0, 77.0) <zip object at 0x7fc68f9afcc0> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fc68f9afa40> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (100.0, 200.0) <zip object at 0x7fc68f9b2f00> 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 0x7fc68f9c7a40> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (77.0, 78.0) <zip object at 0x7fc68f9c0100> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fc68f9c7680> 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 0x7f46477a71c0> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (77.0, 78.0) <zip object at 0x7f46477e4540> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7f46477e47c0> 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 0x7f46474734c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (77.0, 78.0) <zip object at 0x7f46477a5780> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7f464773a100> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (100.0, 200.0) <zip object at 0x7f46477a72c0> 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 0x7f46477e4340> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (78.0, 79.0) <zip object at 0x7f46477e45c0> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7f46477e4500> 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 0x7f5bf6ec52c0> > failed 1 ['--step-length', '.1', '--end', '51'] 3/1to2/1_0 (38.0, 39.0) <zip object at 0x7f5bf6ec51c0> > failed 10 ['--step-length', '.1', '--end', '51'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f5bf6ec24c0> > failed 100 ['--step-length', '.1', '--end', '51'] 3/1to2/1_0 (0.0, 51.0) <zip object at 0x7f5bf6ec5200> > failed 0.1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (38.4, 38.5) <zip object at 0x7f5bf6e7e4c0> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (38.0, 39.0) <zip object at 0x7f5bf6ec5c40> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f5bf6ec55c0> > failed 100 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7f5bf6ec5740> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (38.4, 38.5) <zip object at 0x7f5bf6b494c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (38.0, 39.0) <zip object at 0x7f5bf6e88300> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f5bf6e884c0> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7f5bf6e794c0> > failed 0.1 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f5bf6e79340> > failed 1 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f5bf6e79300> > failed 10 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f5bf6ec5cc0> > failed 100 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (0.0, 51.0) <zip object at 0x7f5bf6e79100> > failed 0.1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f5bf6e89a40> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f5bf6e895c0> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f5bf6e890c0> > failed 100 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7f5bf6e89140> > failed 0.1 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f5bf6e898c0> > failed 1 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f5bf6e89180> > failed 10 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f5bf6e717c0> > failed 100 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7f5bf6e6f9c0>
not even failing as intended (This bug was triggered by text found in file 'errors' matching 'Error') ---------- Differences in errors ---------- 0a1,19 > /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). > ================================================================= > ==3511378==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b000015ac0 at pc 0x00000121831b bp 0x7ffc30c13a30 sp 0x7ffc30c13a28 > WRITE of size 8 at 0x60b000015ac0 thread T0 > #0 0x121831a in TraCIServer::cleanup() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:758:45 > #1 0x121742f in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:365:5 > #2 0x121a723 in TraCIServer::close() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:394:5 > #3 0x5568c2 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:128:5 ---------- 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
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 > > ================================================================= > ==3514177==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 35264 byte(s) in 232 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0xb61ecb in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:737:30 > #2 0xd1a302 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #7 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #8 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #9 0x7f8d1be52f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x2c80c50 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 0x2c80b7d 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 0x2c8082c 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 0x2c86a12 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 0x2c86423 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 0x2c73576 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 0x2c6f475 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa297fe in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xabc11e in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4368:5 > #10 0xf942d2 in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:2030:33 > #11 0xe85c02 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="341" inserted="150" running="150" waiting="10"/> 9c9 < <vehicleTripStatistics count="1458" 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 count="0" routeLength="0.00" speed="0.00" duration="0.00" waitingTime="0.00" timeLoss="0.00" departDelay="0.00" departDelayWaiting="-1.00" totalTravelTime="0.00" totalDepartDelay="0.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,13194 > > ================================================================= > ==3514271==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x890d00 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 0x890b7d 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 0x8908fc 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 0x890738 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 0x890622 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 0x88fd88 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 0x88f00d 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 0x88f468 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 0x88e644 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 0x88dfdf 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 0x88d7fb 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 0x88d6bc 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 0x33c93b5 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 0x2b070ce 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 0x2891c94 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 0x18a3dd0 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 0x17ed30e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:328:46 > #18 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #19 0x7f2150190f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x890d00 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="1227" inserted="1227" running="168" waiting="0"/> 9c9 < <vehicleTripStatistics count="1458" 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 count="1059" routeLength="2041.90" speed="6.66" duration="335.39" waitingTime="168.89" timeLoss="187.95" departDelay="54.15" departDelayWaiting="-1.00" totalTravelTime="355182.00" totalDepartDelay="57344.00"/> ---------- Differences in tls_state ---------- 102,134d101 < <tlsState time="1312.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1316.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1320.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1352.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1356.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1360.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1392.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1396.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1400.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1432.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1436.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1440.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1472.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1476.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1480.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1512.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1516.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1520.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1552.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1556.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1560.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1592.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1596.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1600.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1632.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1636.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1640.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1672.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1676.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,13206 > > ================================================================= > ==3514153==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x890d00 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 0x890b7d 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 0x8908fc 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 0x890738 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 0x890622 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 0x88fd88 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 0x88f00d 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 0x88f468 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 0x88e644 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 0x88dfdf 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 0x88d7fb 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 0x88d6bc 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 0x33c93b5 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 0x2b070ce 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 0x2893e54 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 0x18a357d 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 0x17ed30e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:328:46 > #18 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #19 0x7f53ca175f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x890d00 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="1062" running="331" waiting="165"/> 9c9 < <vehicleTripStatistics count="1458" 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 count="731" routeLength="2041.90" speed="5.08" duration="487.35" waitingTime="292.02" timeLoss="339.96" departDelay="34.74" departDelayWaiting="-1.00" totalTravelTime="356256.00" totalDepartDelay="25395.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 > > ================================================================= > ==3514163==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x890d00 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 0x890b7d 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 0x8908fc 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 0x890738 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 0x890622 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 0x88fd88 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 0x88f00d 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 0x88e644 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 0x88dfdf 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 0x88d7fb 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 0x88d6bc 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 0x33c93b5 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 0x2b070ce 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 0x2897124 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 0x18a278d 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 0x17ed30e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:328:46 > #17 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #18 0x7fcffe616f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x890d00 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 0x890b7d 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="1023" inserted="746" running="370" waiting="145"/> 9c9 < <vehicleTripStatistics count="1458" 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 count="376" routeLength="2041.90" speed="9.57" duration="222.89" waitingTime="69.54" timeLoss="75.48" departDelay="2.94" departDelayWaiting="-1.00" totalTravelTime="83806.00" totalDepartDelay="1104.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 > > ================================================================= > ==3514164==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x890d00 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 0x890b7d 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 0x8908fc 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 0x890738 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 0x890622 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 0x88fd88 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 0x88f00d 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 0x88f468 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 0x88e644 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 0x88dfdf 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 0x88d7fb 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 0x88d6bc 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 0x33c93b5 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 0x2b070ce 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 0x289910c 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 0x18a1f3a 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 0x17ed30e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:328:46 > #18 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #19 0x7fbab601ff52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x890d00 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="296" running="273" waiting="1"/> 9c9 < <vehicleTripStatistics count="1458" 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 count="23" routeLength="2041.90" speed="11.99" duration="172.04" waitingTime="19.35" timeLoss="24.84" departDelay="1.13" departDelayWaiting="-1.00" totalTravelTime="3957.00" totalDepartDelay="26.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 > > ================================================================= > ==3514195==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 288 byte(s) in 4 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x1c52ef0 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 0x1c52d6d 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 0x1c52aec 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 0x1c8b6d8 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 0x1c8b081 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 0x1c4e379 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 0x2ac9f28 in MSSOTLE2Sensors::buildCountSensorForLane(MSLane*, NLDetectorBuilder&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLE2Sensors.cpp:163:23 > #8 0x2ac820d 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 0x28a4770 in MSSOTLTrafficLightLogic::init(NLDetectorBuilder&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLTrafficLightLogic.cpp:164:33 > #10 0x18a827d 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 0x17ed30e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:328:46 > #12 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f20c212ef52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x2ae4120 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 0x2ae404d 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 0x2ae3dcc 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 0x2ae29f8 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 0x2ae2341 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 0x2adcbf9 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 0x2acc2df 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="809" inserted="607" running="255" waiting="192"/> 9c9 < <vehicleTripStatistics count="1458" 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 count="352" routeLength="2041.90" speed="9.44" duration="235.65" waitingTime="80.29" timeLoss="88.25" departDelay="6.83" departDelayWaiting="-1.00" totalTravelTime="82950.00" totalDepartDelay="2403.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,397 > > ================================================================= > ==3514157==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 35264 byte(s) in 232 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0xb61ecb in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:737:30 > #2 0xd1a302 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:165:9 > #3 0xa21bd0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xc08270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xc07d50 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0x8df03d in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #7 0x2ef4533 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #8 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #9 0x7fb0213e5f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x2c80c50 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 0x2c80b7d 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 0x2c8082c 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 0x2c86a12 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 0x2c86423 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 0x2c73576 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 0x2c6f475 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa297fe in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xabc11e in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4368:5 > #10 0xf942d2 in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:2030:33 > #11 0xe85c02 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="1227" inserted="1218" running="199" waiting="9"/> 9c9 < <vehicleTripStatistics count="1458" 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 count="1019" routeLength="2041.90" speed="6.73" duration="332.09" waitingTime="165.87" timeLoss="184.64" departDelay="44.31" departDelayWaiting="-1.00" totalTravelTime="338398.00" totalDepartDelay="45158.00"/> ---------- Differences in tls_state ---------- 102,134d101 < <tlsState time="1312.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1316.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1320.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1352.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1356.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1360.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1392.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1396.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1400.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1432.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1436.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1440.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1472.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1476.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1480.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1512.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1516.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1520.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1552.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1556.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1560.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1592.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1596.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1600.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1632.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1636.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1640.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1672.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1676.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,95028 > > ================================================================= > ==3514286==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 2048 byte(s) in 88 object(s) allocated from: > #0 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x7f5f278569ec 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x63e9d6 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 0x63e309 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 0x5baab1 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 0x2aeba50 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 0x28cf5c8 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 0x18a1212 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 0x17ed30e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:328:46 > #11 0x30db148 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #12 0x7f5f27cc6f52 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 0x55134d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55134d) > #1 0x640590 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 0x6404bd 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 0x63fe9f 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 0x63e9d6 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="959" inserted="934" running="164" waiting="25"/> 9c9 < <vehicleTripStatistics count="1458" 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 count="770" routeLength="2041.90" speed="8.87" duration="252.32" waitingTime="96.47" timeLoss="104.91" departDelay="40.70" departDelayWaiting="-1.00" totalTravelTime="194291.00" totalDepartDelay="31336.00"/> ---------- Differences in tls_state ---------- 6,80c6,8 < <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>