texttest -a complex -d /home/delphi/clangDebug/sumo/tests -reconnect /home/delphi/clangDebug/texttesttmp/clang3_64D.31Jul050543.719277 -g
texttest -a complex -d /home/delphi/clangDebug/sumo/tests
---------- Differences in errors ---------- 108c108,150 < Wrong error code returned (0)! --- > > ================================================================= > ==835137==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 376 byte(s) in 1 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0xab422e in NIImporter_SUMO::addEdge(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:570:21 > #2 0xab186f in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:452:13 > #3 0x1a4cec3 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 0x7f48960de5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 736 byte(s) in 2 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0xabad66 in NIImporter_SUMO::addLane(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:628:21 > #2 0xab1956 in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:455:13 > #3 0x1a4cec3 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 0x7f48960de5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 96 byte(s) in 2 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0x5b7030 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 0x5b6f5d 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 0x5b6c2f 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 0x5b5568 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 0x5b35db 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 0x5a4958 in PositionVector::operator=(PositionVector const&) /home/delphi/clangDebug/sumo/src/utils/geom/PositionVector.h:43:7 > #7 0xabb858 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)! --- > > ================================================================= > ==834973==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 376 byte(s) in 1 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0xab422e in NIImporter_SUMO::addEdge(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:570:21 > #2 0xab186f in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:452:13 > #3 0x1a4cec3 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 0x7f2dba1045ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 736 byte(s) in 2 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0xabad66 in NIImporter_SUMO::addLane(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:628:21 > #2 0xab1956 in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:455:13 > #3 0x1a4cec3 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 0x7f2dba1045ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 96 byte(s) in 2 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0x5b7030 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 0x5b6f5d 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 0x5b6c2f 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 0x5b5568 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 0x5b35db 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 0x5a4958 in PositionVector::operator=(PositionVector const&) /home/delphi/clangDebug/sumo/src/utils/geom/PositionVector.h:43:7 > #7 0xabb858 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 > > ================================================================= > ==826669==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1224 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1850ab2 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 0x1847e7f 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 0x17893a3 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:454:30 > #4 0x177e6b7 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:100:17 > #5 0x308a9d3 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 0x7f08fed335ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==826783==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1224 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1850ab2 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 0x1847e7f 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 0x17893a3 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:454:30 > #4 0x177e6b7 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:100:17 > #5 0x308a9d3 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 0x7f24b3dbd5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==835183==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1224 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1850ab2 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 0x1847e7f 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 0x17893a3 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:454:30 > #4 0x177e6b7 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:100:17 > #5 0x308a9d3 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 0x7f85816795ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==835233==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1224 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1850ab2 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 0x1847e7f 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 0x17893a3 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:454:30 > #4 0x177e6b7 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:100:17 > #5 0x308a9d3 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 0x7f62b9f305ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==849116==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f8333d87082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7f83341ffd03 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 > > ================================================================= > ==849087==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f1f34c07082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7f1f3507fd03 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 > > ================================================================= > ==849085==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7fdd6a961082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7fdd6add9d03 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 > > ================================================================= > ==849093==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7fda5fda3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7fda6021bd03 in std::basic_filebuf<char, std::char_traits<char> >::_M_allocate_internal_buffer() (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x10bd03) > > Indirect leak of 1248 byte(s) in 13 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x9b1120 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 0x9b104d 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 0x9b0cfc 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 0x9aeed2 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 0x9ada53 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 0x990046 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 0xbf4fa0 in Parameterised::setParameter(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/utils/common/Parameterised.cpp:46:5 > #8 0x5760ca in SUMORouteHandler::addParam(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:378:29 > #9 0x574688 in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:212:13 > #10 0x9ea853 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 0x7fda608105ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 656 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) <truncated after showing first 30 lines> ---------- Differences in output ---------- 12,22c12 < Running 'Energy/unknown' < sums < length:11041.9 < CO:0 < CO2:0 < HC:0 < NOx:0 < PMx:0 < fuel:0 < electricity:1243.51 < Success. --- > Error on building PHEMlight measurements ---------- Differences in results ---------- 1,2364d0 < Energy/zero < 1;0;0;0;0;0;0;0;0;0;0 < 2;0;0;0;0;0;0;0;0;0;0 < 3;0;0;0;0;0;0;0;0;0;0 < 4;0;0;0;0;0;0;0;0;0;0 < 5;0;0;0;0;0;0;0;0;0;0 < 6;0;0;0;0;0;0;0;0;0;0 < 7;0;0;0;0;0;0;0;0;0;0 < 8;0;0;0;0;0;0;0;0;0;0 < 9;0;0;0;0;0;0;0;0;0;0 < 10;0;0;0;0;0;0;0;0;0;0 < 11;0;0;0;0;0;0;0;0;0;0 < 12;0.522222;0.522222;0;0;0;0;0;0;0;0 < 13;1.56111;1.03889;0;0;0;0;0;0;0;0 < 14;2.60278;1.04167;0;0;0;0;0;0;0;0 < 15;3.64444;1.04167;0;0;0;0;0;0;0;0 < 16;4.16667;0.522222;0;0;0;0;0;0;0;0 < 17;4.16667;0;0;0;0;0;0;0;0;0 < 18;4.16667;0;0;0;0;0;0;0;0;0 < 19;4.16667;0;0;0;0;0;0;0;0;0 < 20;4.16667;0;0;0;0;0;0;0;0;0 < 21;4.16667;0;0;0;0;0;0;0;0;0 < 22;4.16667;0;0;0;0;0;0;0;0;0 < 23;4.16667;0;0;0;0;0;0;0;0;0 < 24;3.82222;-0.344444;0;0;0;0;0;0;0;0 < 25;3.12778;-0.694444;0;0;0;0;0;0;0;0 < 26;2.31389;-0.813889;0;0;0;0;0;0;0;0 < 27;1.38333;-0.930556;0;0;0;0;0;0;0;0 < 28;0.461111;-0.922222;0;0;0;0;0;0;0;0 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,14 > > ================================================================= > ==848941==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7fe00766f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7fe007ae7d03 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 > > ================================================================= > ==848956==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7fe8c8800082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7fe8c8c78d03 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 > > ================================================================= > ==848987==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f0fb5de7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7f0fb625fd03 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 > > ================================================================= > ==848996==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f242d476082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7f242d8eed03 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 > > ================================================================= > ==848983==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7fec92984082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7fec92dfcd03 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 > > ================================================================= > ==849040==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f1d78cf9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7f1d79171d03 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 > > ================================================================= > ==849027==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f043d193082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7f043d60bd03 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 > > ================================================================= > ==849033==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f2c6d52e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7f2c6d9a6d03 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 > > ================================================================= > ==849034==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7f9d9dd10082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7f9d9e188d03 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 > > ================================================================= > ==849088==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x50219e in main /home/delphi/clangDebug/sumo/src/tools/emissionsDrivingCycle_main.cpp:178:19 > #2 0x7fd6321f5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x4f2b1d in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2b1d) > #1 0x7fd63266dd03 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/tmp56tlh5dy/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/tmp073zyl8u/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/tmpmpcsp70d/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/tmpd3w9xlq6/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 > > ================================================================= > ==846983==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 1 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0x8573df 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 0x1a4e7ea in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:156:13 > #3 0x7f2f15ff7f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_2::XMLElementDecl const&, unsigned int, bool, char16_t const*) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x212f52) > > Indirect leak of 928 byte(s) in 1 object(s) allocated from: > #0 0x51974d in operator new(unsigned long, std::nothrow_t const&) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51974d) > #1 0x7f2f15d0d6a8 (/usr/lib/x86_64-linux-gnu/libproj.so.15+0x2336a8) > > Indirect leak of 831 byte(s) in 11 object(s) allocated from: > #0 0x4e9dbd in malloc (/home/delphi/clangDebug/sumo/bin/netconvertD+0x4e9dbd) > #1 0x7f2f15d0cdbd in pj_malloc (/usr/lib/x86_64-linux-gnu/libproj.so.15+0x232dbd) > > Indirect leak of 448 byte(s) in 2 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0x7f2f15b87867 (/usr/lib/x86_64-linux-gnu/libproj.so.15+0xad867) > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0x7f2f15b8e03b (/usr/lib/x86_64-linux-gnu/libproj.so.15+0xb403b) > > Indirect leak of 208 byte(s) in 2 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,311 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==846789==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f980e167082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f980e167082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 1,2c1,1905 < .....WARNING: No typeSubstring given. Managing all vehicles. (PlatoonManager) < .. --- > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==846764==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fadba60f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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,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 > > ================================================================= > ==846828==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f872bc4b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f872bc4b082 in __libc_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 > > ================================================================= > ==846773==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdaff3fa082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,27 > > ================================================================= > ==847936==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f60b590a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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). > > ================================================================= > ==847950==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc48e0 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x308a9d3 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 0x7f8e47c715ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==848000==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f77ed09f5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==848021==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc48e0 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x308a9d3 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 0x7fb587db85ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==848001==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f3fe823e5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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). > > ================================================================= > ==848022==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc48e0 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x308a9d3 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 0x7f531b51c5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==847951==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fd3b7c4a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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). > > ================================================================= > ==847964==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc48e0 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x308a9d3 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 0x7f12c0b9e5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==847974==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f53b62975ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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). > > ================================================================= > ==847982==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc48e0 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x308a9d3 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 0x7f728fc735ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==848023==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f4be92da5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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). > > ================================================================= > ==848034==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc48e0 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x308a9d3 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 0x7f418301a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==847832==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f7591aa45ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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). > > ================================================================= > ==847843==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc48e0 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x308a9d3 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 0x7f21af6785ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==847870==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fc2680e65ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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). > > ================================================================= > ==847879==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc48e0 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x308a9d3 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 0x7ff6175f35ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==847867==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fecdc04a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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). > > ================================================================= > ==847878==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc48e0 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x308a9d3 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 0x7f9815d465ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==847906==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fb9e55385ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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). > > ================================================================= > ==847920==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc48e0 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x308a9d3 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 0x7fee393755ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==847905==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f7a7df485ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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). > > ================================================================= > ==847912==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc48e0 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x308a9d3 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 0x7f46805605ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s).
---------- Differences in errors ---------- 0a1,295 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==837811==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdbf909b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fdbf909b082 in __libc_start_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 > > ================================================================= > ==837786==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f910fbbf082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==836883==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6811e50082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6811e50082 in __libc_start_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:417: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:417:16 in > > ================================================================= > ==837383==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f4cb1be8f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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:417: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:417:16 in > > ================================================================= > ==837603==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fcb47a1ef52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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:417: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:417:16 in > > ================================================================= > ==837618==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f26903d2f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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:417: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:417:16 in > > ================================================================= > ==836863==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8ddeaf8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 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:417: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:417:16 in > > ================================================================= > ==836514==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f75045fd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 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:417: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:417:16 in > > ================================================================= > ==836799==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f75578ed082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 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 > > ================================================================= > ==837067==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2302e71082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2302e71082 in __libc_start_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 > > ================================================================= > ==836969==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbda0f01082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fbda0f01082 in __libc_start_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:417: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:417:16 in 1a8,321 > > ================================================================= > ==837213==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8df0e56082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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:417: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:417:16 in 28a35,348 > > ================================================================= > ==836273==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f177b957082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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:417: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:417:16 in > > ================================================================= > ==837566==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc9c1306082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 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:417: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:417:16 in > > ================================================================= > ==836285==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9fda0df082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 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 > > ================================================================= > ==836003==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2f5046a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2f5046a082 in __libc_start_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 > > ================================================================= > ==836568==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc565eed082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc565eed082 in __libc_start_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:417: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:417:16 in > > ================================================================= > ==836673==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f146cf22082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 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:417: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:417:16 in > > ================================================================= > ==837142==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6ac4385082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 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 > ================================================================= > ==835885==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000481e0 at pc 0x0000012023bb bp 0x7ffdd5033750 sp 0x7ffdd5033748 > WRITE of size 8 at 0x60b0000481e0 thread T0 5a9,12 > #0 0x12023ba in TraCIServer::cleanup() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:758:45 > #1 0x12014cf in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:365:5 > #2 0x12047c3 in TraCIServer::close() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:394:5 > #3 0x555912 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:128:5
---------- Differences in errors ---------- 2a3,5 > ================================================================= > ==835972==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000481e0 at pc 0x0000012023bb bp 0x7ffe145865f0 sp 0x7ffe145865e8 > WRITE of size 8 at 0x60b0000481e0 thread T0
---------- Differences in errors ---------- 2a3,5 > ================================================================= > ==836071==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000481e0 at pc 0x0000012023bb bp 0x7ffffcd1cf10 sp 0x7ffffcd1cf08 > WRITE of size 8 at 0x60b0000481e0 thread T0 5a9,12 > #0 0x12023ba in TraCIServer::cleanup() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:758:45 > #1 0x12014cf in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:365:5 > #2 0x12047c3 in TraCIServer::close() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:394:5 > #3 0x555912 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:128:5
---------- Differences in errors ---------- 2a3,5 > ================================================================= > ==836108==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000481e0 at pc 0x0000012023bb bp 0x7ffd3250beb0 sp 0x7ffd3250bea8 > WRITE of size 8 at 0x60b0000481e0 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:417: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:417:16 in > > ================================================================= > ==835190==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f9edd840f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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:417: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:417:16 in > > ================================================================= > ==835313==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fa8d770df52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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:417: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:417:16 in > > ================================================================= > ==834628==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd745f8a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 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:417: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:417:16 in > > ================================================================= > ==834821==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f57a0f7b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 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:417: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:417: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' > 27 00 00 0b f0 23 b4 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:6662: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' > 27 00 00 0b f0 23 b4 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:6662:9 in > /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6665: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' > 27 00 00 0b f0 23 b4 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:6665:13 in > /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ToC.cpp:1072:37: runtime error: member call on address 0x61100006d500 which does not point to an object of type 'MSVehicle::Influencer' > 0x61100006d500: note: object has invalid vptr > 2c 00 00 5b 2f 00 80 41 00 00 00 00 00 00 00 00 be be be be 20 d1 18 00 30 60 00 00 40 d1 18 00 > ^~~~~~~~~~~~~~~~~~~~~~~ > invalid vptr <truncated after showing first 30 lines> ---------- Differences in fcd ---------- 1389,1508c1389 < <vehicle id="ToC_veh" x="285.90" y="2407.16" angle="198.00" type="automated@ToC_veh" speed="8.02" pos="41.65" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="462.00"> < <vehicle id="ToC_veh" x="283.79" y="2400.67" angle="198.00" type="automated@ToC_veh" speed="6.82" pos="48.47" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="463.00"> < <vehicle id="ToC_veh" x="282.06" y="2395.33" angle="198.00" type="automated@ToC_veh" speed="5.62" pos="54.09" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="464.00"> < <vehicle id="ToC_veh" x="280.69" y="2391.13" angle="198.00" type="automated@ToC_veh" speed="4.42" pos="58.51" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="465.00"> < <vehicle id="ToC_veh" x="279.70" y="2388.06" angle="198.00" type="automated@ToC_veh" speed="3.22" pos="61.73" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="466.00"> < <vehicle id="ToC_veh" x="279.07" y="2386.14" angle="198.00" type="automated@ToC_veh" speed="2.02" pos="63.74" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="467.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.82" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="468.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.00" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="469.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.00" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="470.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.00" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> <truncated after showing first 30 lines> ---------- Differences in toc ---------- 2a3,4 > <!-- generated on 2022-07-03 05:06:58 by Eclipse SUMO sumo Version v1_13_0+1369-911bc05257e > <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:417: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:417:16 in > > ================================================================= > ==834808==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fef751f4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 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:417: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:417:16 in > > ================================================================= > ==835602==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe458f50082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 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:417: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:417:16 in > > ================================================================= > ==835332==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7faccdd37082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 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:417: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:417:16 in > > ================================================================= > ==835353==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f494862e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 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:417: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:417: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' > 35 00 00 42 f0 23 b4 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:6662: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' > 35 00 00 42 f0 23 b4 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:6662:9 in > /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6665: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' > 35 00 00 42 f0 23 b4 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:6665:13 in > /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ToC.cpp:1072:37: runtime error: member call on address 0x61100006d500 which does not point to an object of type 'MSVehicle::Influencer' > 0x61100006d500: note: object has a possibly invalid vptr: abs(offset to top) too big > 2c 00 00 35 2c 00 00 02 00 00 00 00 00 00 00 00 be be be be 50 d1 18 00 30 60 00 00 70 d1 18 00 > ^~~~~~~~~~~~~~~~~~~~~~~ > possibly invalid vptr <truncated after showing first 30 lines> ---------- Differences in fcd ---------- 1389,1508c1389 < <vehicle id="ToC_veh" x="285.90" y="2407.16" angle="198.00" type="automated@ToC_veh" speed="8.02" pos="41.65" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="462.00"> < <vehicle id="ToC_veh" x="283.79" y="2400.67" angle="198.00" type="automated@ToC_veh" speed="6.82" pos="48.47" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="463.00"> < <vehicle id="ToC_veh" x="282.06" y="2395.33" angle="198.00" type="automated@ToC_veh" speed="5.62" pos="54.09" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="464.00"> < <vehicle id="ToC_veh" x="280.69" y="2391.13" angle="198.00" type="automated@ToC_veh" speed="4.42" pos="58.51" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="465.00"> < <vehicle id="ToC_veh" x="279.70" y="2388.06" angle="198.00" type="automated@ToC_veh" speed="3.22" pos="61.73" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="466.00"> < <vehicle id="ToC_veh" x="279.07" y="2386.14" angle="198.00" type="automated@ToC_veh" speed="2.02" pos="63.74" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="467.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.82" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="468.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.00" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="469.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.00" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="470.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.00" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> <truncated after showing first 30 lines> ---------- Differences in tocs ---------- 2a3,4 > <!-- generated on 2022-07-03 05:07:29 by Eclipse SUMO sumo Version v1_13_0+1369-911bc05257e > <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 > > ================================================================= > ==835680==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc0c7498082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc0c7498082 in __libc_start_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 > > ================================================================= > ==835753==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f516018a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f516018a082 in __libc_start_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:417: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:417:16 in > > ================================================================= > ==835755==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd4b6352082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 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:417: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:417:16 in 5a12,325 > > ================================================================= > ==836234==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fabc6e67082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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:417: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:417:16 in 4a11,324 > > ================================================================= > ==836126==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f584e0f6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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:417: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:417:16 in > > ================================================================= > ==837168==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7effb2b9a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 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 > > ================================================================= > ==834086==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 304 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0xb56a5b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x245a755 in MSEmissionExport::write(OutputDevice&, long long, int) /home/delphi/clangDebug/sumo/src/microsim/output/MSEmissionExport.cpp:64:26 > #3 0x5891b4 in MSNet::writeOutput() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:901:9 > #4 0x56d57c in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:717:5 > #5 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #6 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #7 0x7f9ba17b0082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x2c3b920 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 0x2c3b84d 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 0x2c3b4fc 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 0x2c416e2 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 0x2c410f3 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 0x2c2e246 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 0x2c2a145 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa25a2e in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xab2a26 in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4300:5 > #10 0xf81a7a in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1974:33 > #11 0xe76062 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 > > ================================================================= > ==834043==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6646d7c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6646d7c082 in __libc_start_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 > > ================================================================= > ==833966==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f89099a1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f89099a1082 in __libc_start_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 > > ================================================================= > ==834168==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 304 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0xb56a5b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x23d7d7c 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 0x239ca40 in MSMeanData::MeanDataValues::notifyMove(SUMOTrafficObject&, double, double, double) /home/delphi/clangDebug/sumo/src/microsim/output/MSMeanData.cpp:254:5 > #4 0xa24227 in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1106:26 > #5 0xab2a26 in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4300:5 > #6 0xf81a7a in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1974:33 > #7 0xe76062 in MSEdgeControl::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEdgeControl.cpp:228:19 > #8 0x56a9f6 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:662:18 > #9 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #10 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #11 0x7f73d4366082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x2c3b920 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 0x2c3b84d 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 0x2c3b4fc 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 0x2c416e2 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 0x2c410f3 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 0x2c2e246 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 0x2c2a145 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa25a2e in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xab2a26 in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4300:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,314 > > ================================================================= > ==843083==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f4de7833f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,336 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==843089==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 10 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fae73bcd5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1205d1d 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 0x59cd46 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:1189:19 > #8 0x2547ac4 in MSTransportableControl::checkWaiting(MSNet*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportableControl.cpp:192:39 > #9 0x56b652 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:678:26 > #10 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #11 0x5544bd 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 > > ================================================================= > ==843032==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fd5246baf52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843086==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f6802eaef52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==843009==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fb499c1ff52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843021==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7ffb697b9f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==843039==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f35eac65f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843467==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==843545==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==843498==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==843477==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==843565==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==843501==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==843474==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==843572==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==843533==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==843465==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==843540==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==843494==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1024 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,314 > > ================================================================= > ==842972==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f17c2546f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 132 (8-bit, unsigned) to type 'char' changed the value to -124 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -124 (8-bit, signed) to type 'unsigned char' changed the value to 132 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==842940==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==842981==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 10 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fde68b545ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1205d1d 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 0x59cd46 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:1189:19 > #8 0x2547ac4 in MSTransportableControl::checkWaiting(MSNet*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportableControl.cpp:192:39 > #9 0x56b652 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:678:26 > #10 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394: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 > > ================================================================= > ==842984==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 10 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fa528adf5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1205d1d 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 0x59cd46 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:1189:19 > #8 0x2547ac4 in MSTransportableControl::checkWaiting(MSNet*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportableControl.cpp:192:39 > #9 0x56b652 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:678:26 > #10 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #11 0x5544bd 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 > > ================================================================= > ==842967==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fec55ff6f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==842935==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f0ed5f71f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843354==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f0fd5fb7f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843340==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fdc884f5f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843326==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f4f14b4df52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843333==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f2e547e4f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843351==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==843330==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f77b63bd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f77b63bd082 in __libc_start_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 > > ================================================================= > ==843088==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f8720efdf52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843090==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7efce77daf52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843152==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f7093fbef52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843150==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f3561dddf52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843111==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fb3e2248f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843139==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fee0d318f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843091==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f45103fbf52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843110==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f64a6f19f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843223==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fb5316aaf52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843276==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f93e05e7f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843262==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7ff4318d6f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843230==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fa726638f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843263==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f6829574f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843232==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f3feb290f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843279==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f277148bf52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843401==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f02f9de3f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843406==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f61bbf4af52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843411==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f907010af52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843444==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fd6edd21f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843450==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 10 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f7c8e12d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x1205d1d 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 0x59cd46 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:1189:19 > #8 0x2547ac4 in MSTransportableControl::checkWaiting(MSNet*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportableControl.cpp:192:39 > #9 0x56b652 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:678:26 > #10 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394: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 > > ================================================================= > ==843382==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f6f30400f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843369==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f83aae6cf52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843359==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fb7216def52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==843163==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f45d7c4c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f45d7c4c082 in __libc_start_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 > > ================================================================= > ==843210==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc26df68082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc26df68082 in __libc_start_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 > > ================================================================= > ==843214==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2cfac67082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2cfac67082 in __libc_start_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 > > ================================================================= > ==843205==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7d73777082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7d73777082 in __libc_start_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 > > ================================================================= > ==843206==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc1762f8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc1762f8082 in __libc_start_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 > > ================================================================= > ==841070==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f34e60a6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f34e60a6082 in __libc_start_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 > > ================================================================= > ==842193==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f4e598eaf52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 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 > > ================================================================= > ==842196==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <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 > > ================================================================= > ==841181==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4239e56082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4239e56082 in __libc_start_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 > > ================================================================= > ==841272==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1c930a4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==841325==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa7c8eed082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd 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 > > ================================================================= > ==841421==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efd30286082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7efd30286082 in __libc_start_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 > > ================================================================= > ==841465==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f613d4ca082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f613d4ca082 in __libc_start_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 > > ================================================================= > ==841466==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==841468==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f979301f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f979301f082 in __libc_start_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 > > ================================================================= > ==841530==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f43c0ae3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f43c0ae3082 in __libc_start_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 > > ================================================================= > ==841574==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xcd4741 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd12c9 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7f5f5a319f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff 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 > > ================================================================= > ==841670==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xcd4741 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd12c9 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7fb68bd71f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff 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 > > ================================================================= > ==841615==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xcd4741 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd12c9 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7fb3a2cf3f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff 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 > > ================================================================= > ==841629==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f522acf8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f522acf8082 in __libc_start_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 > > ================================================================= > ==841654==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f11589cb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f11589cb082 in __libc_start_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 > > ================================================================= > ==841659==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcfbaa2d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==841660==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc3c174e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc3c174e082 in __libc_start_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 > > ================================================================= > ==841707==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc15d216082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc15d216082 in __libc_start_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 > > ================================================================= > ==841778==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8163d3c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8163d3c082 in __libc_start_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 > > ================================================================= > ==841813==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f86fe723082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f86fe723082 in __libc_start_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 > > ================================================================= > ==841807==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdb9e2c4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fdb9e2c4082 in __libc_start_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 > > ================================================================= > ==841830==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 120 byte(s) in 1 object(s) allocated from: > #0 0x5504ad in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x5504ad) > #1 0x3070ebd in OptionsIO::setArgs(int, char**) /home/delphi/clangDebug/sumo/src/utils/options/OptionsIO.cpp:61:24 > #2 0x554146 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:92:9 > #3 0x7fb0d4523082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 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 > > ================================================================= > ==841832==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfd3a9 in MSVehicleControl::removePending() /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:157:31 > #9 0xe76b43 in MSEdgeControl::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEdgeControl.cpp:240:47 > #10 0x56a9f6 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:662:18 > #11 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #12 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #13 0x7f8330eb9082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 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 > > ================================================================= > ==841840==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ffa84e18082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ffa84e18082 in __libc_start_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 > > ================================================================= > ==841853==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe2361f5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe2361f5082 in __libc_start_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 > > ================================================================= > ==841889==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efdb8a28082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7efdb8a28082 in __libc_start_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 > > ================================================================= > ==841891==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbf4602d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fbf4602d082 in __libc_start_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 > > ================================================================= > ==841895==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f83708fa082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f83708fa082 in __libc_start_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 > > ================================================================= > ==841916==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9a4b053082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9a4b053082 in __libc_start_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 > > ================================================================= > ==841918==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x17866ac in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x308a9d3 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 0x7fea793685ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fea780b6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==841981==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x17866ac in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x308a9d3 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 0x7f99ef9565ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f99ee6a4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==841997==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f5bccde35ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5bcbb31082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842013==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f66643ab082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fdbb8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f66643ab082 in __libc_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 > > ================================================================= > ==842044==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7a2458a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7a2458a082 in __libc_start_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 > > ================================================================= > ==842043==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5370610082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==842056==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa5b3ad5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa5b3ad5082 in __libc_start_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 > > ================================================================= > ==842061==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8c5e497082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8c5e497082 in __libc_start_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 > > ================================================================= > ==842115==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbc7d63a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==842129==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fce269a7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fce269a7082 in __libc_start_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 > > ================================================================= > ==842141==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efe9a7bc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7efe9a7bc082 in __libc_start_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 > > ================================================================= > ==842147==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7342c59082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7342c59082 in __libc_start_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 > > ================================================================= > ==842180==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4352b51082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4352b51082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==846644==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f92a3b14082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f92a3b14082 in __libc_start_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 > > ================================================================= > ==846651==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fac44936082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fac44936082 in __libc_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 > > ================================================================= > ==846646==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 528 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x20f0084 in MSCalibrator::setFlow(long long, long long, double, double, SUMOVehicleParameter) /home/delphi/clangDebug/sumo/src/microsim/trigger/MSCalibrator.cpp:699:30 > #2 0x157c389 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 0x12d0afd in TraCIServerAPI_Calibrator::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Calibrator.cpp:78:17 > #4 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #5 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #6 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #7 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #8 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #9 0x7fb80686a082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, 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 > > ================================================================= > ==846683==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8578da6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8578da6082 in __libc_start_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 > > ================================================================= > ==838328==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x574cbd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x574cbd) > #1 0x7fde5e5af2f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5a442d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5a442d) > #1 0x5e4416 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 > #2 0x5b7137 in GUIApplicationWindow::dependentBuild(bool) /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:266:5 > #3 0x5a7c07 in main /home/delphi/clangDebug/sumo/src/guisim_main.cpp:86:17 > #4 0x7fde5ae46082 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 0x574e32 in calloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x574e32) > #1 0x7fde5e5af93c (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x2193c) > > Indirect leak of 9 byte(s) in 1 object(s) allocated from: > #0 0x561064 in strdup (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x561064) > #1 0x7fde5e5aeb64 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 > > ================================================================= > ==840606==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f155bd73082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f155bd73082 in __libc_start_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 > > ================================================================= > ==840665==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x574cbd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x574cbd) > #1 0x7f4c049bd2f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5a442d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5a442d) > #1 0x7f4beec7b0cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5a442d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5a442d) > #1 0x5e4416 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==840672==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd54b22a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd54b22a082 in __libc_start_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 > > ================================================================= > ==840754==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x574cbd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x574cbd) > #1 0x7faa776db2f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5a442d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5a442d) > #1 0x7faa60d410cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5a442d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5a442d) > #1 0x5e4416 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,588 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 166 (8-bit, unsigned) to type 'char' changed the value to -90 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -90 (8-bit, signed) to type 'unsigned char' changed the value to 166 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 166 (8-bit, unsigned) to type 'char' changed the value to -90 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -90 (8-bit, signed) to type 'unsigned char' changed the value to 166 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==841035==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7faa1a1dd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 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 > > ================================================================= > ==839644==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2679e35082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2679e35082 in __libc_start_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 > > ================================================================= > ==839094==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f33b22f8082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f33b22f8082 in __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 ---------- 22a23 > done. 142c143 < Starting process 1 with steplength 1.0 --- > Loading configuration ... Starting process 1 with steplength 1.0 172d172 < Loading configuration ... done.
---------- 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 > > ================================================================= > ==839457==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x574cbd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x574cbd) > #1 0x7f0a8c1672f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5a442d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5a442d) > #1 0x7f0a757cf0cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5a442d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5a442d) > #1 0x5e4416 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,620 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==840488==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f01c10e8082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f01c10e8082 in __libc_start_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 > > ================================================================= > ==839468==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 448 byte(s) in 4 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7ea2bbf082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7ea2bbf082 in __libc_start_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 > > ================================================================= > ==840546==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6ce5885082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6ce5885082 in __libc_start_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 > > ================================================================= > ==839630==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 448 byte(s) in 4 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8bb46fb082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8bb46fb082 in __libc_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 > > ================================================================= > ==840459==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 224 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8e97521082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8e97521082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==838550==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5eddcab082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,2118 > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,5880 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==838516==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbdd309e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fbdd309e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,7060 > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==838523==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x574cbd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x574cbd) > #1 0x7f70b0b7d2f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5a442d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5a442d) > #1 0x7f709a1e10cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5a442d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5a442d) > #1 0x5e4416 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,353 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 199 (8-bit, unsigned) to type 'char' changed the value to -57 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -57 (8-bit, signed) to type 'unsigned char' changed the value to 199 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==842653==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fe1334945ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe1321e2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842661==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f3f8228a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3f80fd8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842679==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f0c465aa5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0c452f8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842724==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fcd44b965ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcd438e4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842678==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fa88265a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa8813a8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842688==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f28215365ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2820284082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 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 2a7,70 > ================================================================= > ==842612==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b000048ad0 at pc 0x0000012023bb bp 0x7ffd27341350 sp 0x7ffd27341348 > WRITE of size 8 at 0x60b000048ad0 thread T0 > #0 0x12023ba in TraCIServer::cleanup() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:758:45 > #1 0x12014cf in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:365:5 > #2 0x12047c3 in TraCIServer::close() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:394:5 > #3 0x555912 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:128:5 > #4 0x7faa6b279082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > #5 0x4a84ed in _start (/home/delphi/clangDebug/sumo/bin/sumoD+0x4a84ed) > > 0x60b000048ad0 is located 0 bytes inside of 112-byte region [0x60b000048ad0,0x60b000048b40) > freed by thread T0 here: > #0 0x550bfd in operator delete(void*) (/home/delphi/clangDebug/sumo/bin/sumoD+0x550bfd) > #1 0x1201367 in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:363:9 > #2 0x12047c3 in TraCIServer::close() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:394:5 > #3 0x555912 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:128:5 > #4 0x7faa6b279082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > previously allocated by thread T0 here: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines> ---------- Differences in output ---------- 59,64c59,62 < found 1 objects < Ok: Unsubscribe successful < trying to subscribe to lanearea around lanearea 'e2_0' at time 3.0 < found 1 objects < Ok: Unsubscribe successful < trying to subscribe to multientryexit around lanearea 'e2_0' at time 5.0 --- > restarting sumo due to FatalTraCIError 'connection closed by SUMO' > trying to subscribe to lanearea around lanearea 'e2_0' at time 1.0 > restarting sumo due to FatalTraCIError 'connection closed by SUMO' > trying to subscribe to multientryexit around lanearea 'e2_0' at time 1.0 73,78c71,74 < found 1 objects < Ok: Unsubscribe successful < trying to subscribe to person around lanearea 'e2_0' at time 3.0 < found 1 objects < Ok: Unsubscribe successful < trying to subscribe to route around lanearea 'e2_0' at time 5.0 --- > restarting sumo due to FatalTraCIError 'connection closed by SUMO' > trying to subscribe to person around lanearea 'e2_0' at time 1.0 > restarting sumo due to FatalTraCIError 'connection closed by SUMO' > trying to subscribe to route around lanearea 'e2_0' at time 1.0 81,83c77,78 < found 1 objects < Ok: Unsubscribe successful < trying to subscribe to vehicletype around lanearea 'e2_0' at time 3.0 --- > restarting sumo due to FatalTraCIError 'connection closed by SUMO' <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 > > ================================================================= > ==842923==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6641129082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407: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 > > ================================================================= > ==842862==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f48cf13b5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f48cde89082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842902==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7ff8da6235ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff8d9371082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842725==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f26d15a45ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f26d02f2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842723==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f90a34225ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f90a2170082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842722==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fc3cff7e5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc3ceccc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842728==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fe8429895ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe8416d7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842613==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f123cd535ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f123baa1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842627==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f06439de5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f064272c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==843632==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f16136235ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0xb56a5b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13bdf3b in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x13aa2e6 in double MSLane::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSLane.h:1095:23 > #4 0x139bf21 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 0x13a654f 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 0x1283e1f in TraCIServerAPI_Edge::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Edge.cpp:53:14 > #7 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #8 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #9 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599: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 > > ================================================================= > ==838241==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1824 byte(s) in 12 object(s) allocated from: > #0 0x5a442d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5a442d) > #1 0xabac1b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13e9792 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:164:9 > #3 0x1d69aa0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0x1f07270 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xae9e62 in GUIVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/guisim/GUIVehicleControl.cpp:53:5 > #6 0x1629fad in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #7 0x194ec3f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:685:17 > #8 0x8f387e in GUINet::simulationStep() /home/delphi/clangDebug/sumo/src/guisim/GUINet.cpp:232:12 > #9 0x6b79f8 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 > > ================================================================= > ==838139==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x574cbd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x574cbd) > #1 0x7ff76a9b72f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5a442d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5a442d) > #1 0x7ff75401d0cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5a442d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5a442d) > #1 0x5e4416 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,539 > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 200 (8-bit, unsigned) to type 'char' changed the value to -56 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -56 (8-bit, signed) to type 'unsigned char' changed the value to 200 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==838093==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x574cbd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x574cbd) > #1 0x7f43939e22f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5a442d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5a442d) > #1 0x7f437d04a0cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5a442d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5a442d) > #1 0x5e4416 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,377 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > > ================================================================= > ==838144==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 512 byte(s) in 2 object(s) allocated from: > #0 0x574cbd in malloc (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x574cbd) > #1 0x7fa14cdc02f4 (/usr/lib/x86_64-linux-gnu/libfontconfig.so.1+0x212f4) > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5a442d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5a442d) > #1 0x7fa1368cb0cd (<unknown module>) > > Direct leak of 32 byte(s) in 1 object(s) allocated from: > #0 0x5a442d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumo-guiD+0x5a442d) > #1 0x5e4416 in GUIApplicationWindow::buildToolBars() /home/delphi/clangDebug/sumo/src/gui/GUIApplicationWindow.cpp:684:28 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 160 (8-bit, unsigned) to type 'char' changed the value to -96 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -96 (8-bit, signed) to type 'unsigned char' changed the value to 160 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==846283==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f6664f07f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 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 > > ================================================================= > ==846279==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7feaeff33082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7feaeff33082 in __libc_start_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 > > ================================================================= > ==846345==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f78bbcf55ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f78baa43082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==846304==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f000c44d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f000b19b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==846309==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f9a66f0d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9a65c5b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==845866==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff6e48ea082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff6e48ea082 in __libc_start_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 > > ================================================================= > ==843610==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7672b7d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7672b7d082 in __libc_start_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 > > ================================================================= > ==843584==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 152 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0xb56a5b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13bdf3b in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x13aa2e6 in double MSLane::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSLane.h:1095:23 > #4 0x14d05ac 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 0x14da63d 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 0x1291d73 in TraCIServerAPI_Lane::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Lane.cpp:50:14 > #7 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #8 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #9 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #10 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #11 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #12 0x7fce9592b082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==843612==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f95767aa082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f95767aa082 in __libc_start_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 > > ================================================================= > ==843629==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 152 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0xb56a5b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13bdf3b in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x13aa2e6 in double MSLane::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSLane.h:1095:23 > #4 0x14d05ac 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 0x14da63d 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 0x1291d73 in TraCIServerAPI_Lane::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Lane.cpp:50:14 > #7 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #8 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #9 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #10 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #11 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #12 0x7fb683774082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==846348==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f661982f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f661982f082 in __libc_start_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 > > ================================================================= > ==846389==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f597a76f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f597a76f082 in __libc_start_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 > > ================================================================= > ==846382==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc1c384a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc1c384a082 in __libc_start_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 > > ================================================================= > ==846353==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb61c37c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb61c37c082 in __libc_start_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 > > ================================================================= > ==846716==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6c6600e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6c6600e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==842200==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f8ba587e5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8ba45cc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842242==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f44f67cf5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f44f551d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842246==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fa7f54435ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa7f4191082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,337 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 143 (8-bit, unsigned) to type 'char' changed the value to -113 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -113 (8-bit, signed) to type 'unsigned char' changed the value to 143 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==842416==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x16cca19 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 0x1379285 in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:1103:17 > #12 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #13 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #14 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #15 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #16 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #17 0x7fd33c3c9082 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 > > ================================================================= > ==842573==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 4576 byte(s) in 22 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x15deb3e in libsumo::Simulation::findIntermodalRoute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, int, double, double, double, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/libsumo/Simulation.cpp:682:51 > #2 0x12f4772 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #6 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #7 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f6bc358d082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 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 > > ================================================================= > ==842580==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 4576 byte(s) in 22 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x15deb3e in libsumo::Simulation::findIntermodalRoute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, int, double, double, double, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/libsumo/Simulation.cpp:682:51 > #2 0x12f4772 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #6 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #7 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7ffb1ae9f082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 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 > > ================================================================= > ==842571==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 4576 byte(s) in 22 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x15deb3e in libsumo::Simulation::findIntermodalRoute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, int, double, double, double, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/libsumo/Simulation.cpp:682:51 > #2 0x12f4772 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #6 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #7 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f5c563eb082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 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 > > ================================================================= > ==842609==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 416 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x15deb3e in libsumo::Simulation::findIntermodalRoute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, int, double, double, double, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/libsumo/Simulation.cpp:682:51 > #2 0x12f4772 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #6 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #7 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7fcd888f3082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcd888f3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) <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 > > ================================================================= > ==842566==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7faad09285ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7faacf676082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842533==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f80955c85ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8094316082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842550==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f8bed3365ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8bec084082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842559==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fcb36ba65ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcb358f4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842454==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f847032d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f846f07b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 > > ================================================================= > ==842450==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f7be4f275ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7be3c75082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842478==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fa2a87155ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa2a7463082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842425==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7feca5520082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7feca5520082 in __libc_start_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 > > ================================================================= > ==842429==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9bcb784082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9bcb784082 in __libc_start_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 > > ================================================================= > ==842430==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f58c3f04082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f58c3f04082 in __libc_start_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 > > ================================================================= > ==842423==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fab2a680082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fab2a680082 in __libc_start_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 > > ================================================================= > ==842534==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3063676082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3063676082 in __libc_start_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 > > ================================================================= > ==842525==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f359476c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f359476c082 in __libc_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 > > ================================================================= > ==842247==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7faf573105ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 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 > > ================================================================= > ==842249==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f043393f5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f043268d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842361==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fea619975ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fea606e5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842341==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f65b6f905ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f65b5cde082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842355==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f0fda2045ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0fd8f52082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842306==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f8849f7e5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8848ccc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==842394==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f82cf3845ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f82ce0d2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 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 > > ================================================================= > ==846404==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ffa9d064082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ffa9d064082 in __libc_start_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 > > ================================================================= > ==846689==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1216 byte(s) in 8 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0xb56a5b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x1e4939e 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 0x1e47ba3 in MSDevice_ElecHybrid::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ElecHybrid.cpp:123:43 > #4 0x1b54b27 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:117:5 > #5 0xd0d37a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #6 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #7 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #8 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #9 0xee614d in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #10 0x56bd3f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:685:17 > #11 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #12 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #13 0x7fbfa7a0b082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x2c3b920 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 0x2c3b84d 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 0x2c3b4fc 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 > > ================================================================= > ==846668==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0301c19082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0301c19082 in __libc_start_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 > > ================================================================= > ==845787==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fa0d4b5c5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa0d38aa082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==845766==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 480 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1303d4e in TraCIServerAPI_Simulation::readStage(TraCIServer&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:452:19 > #2 0x12a9956 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:236:55 > #3 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #6 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #7 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f65bd8af082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f65bd8af082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) <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 > > ================================================================= > ==845826==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x17866ac in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x308a9d3 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 0x7f708bbfa5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f708a948082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==845825==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x17866ac in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x308a9d3 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 0x7f0de44ad5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0de31fb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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,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 > > ================================================================= > ==845628==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x249ccd8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:580:24 > #2 0x140b137 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:1317:8 > #3 0x1522f60 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 0x12b0e67 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:389:17 > #5 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #8 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #9 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fd816d49082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fd817ffb5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==845624==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x249ccd8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:580:24 > #2 0x140b137 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:1317:8 > #3 0x1522f60 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 0x12b0e67 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:389:17 > #5 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #8 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #9 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fb6e5f73082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fb6e72255ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==845652==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x249ccd8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:580:24 > #2 0x140b137 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:1317:8 > #3 0x1522f60 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 0x12b0e67 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:389:17 > #5 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #8 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #9 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f095eadc082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f095fd8e5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==845648==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x249ccd8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:580:24 > #2 0x140b137 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:1317:8 > #3 0x1522f60 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 0x12b0e67 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:389:17 > #5 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #8 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #9 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fad10dfa082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fad120ac5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==845658==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x249ccd8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:580:24 > #2 0x140b137 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:1317:8 > #3 0x1522f60 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 0x12b0e67 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:389:17 > #5 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #8 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #9 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fba932ad082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fba9455f5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==845704==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x249ccd8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:580:24 > #2 0x140b137 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:1317:8 > #3 0x1522f60 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 0x12b0e67 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:389:17 > #5 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #8 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #9 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f54e5235082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f54e64e75ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==845739==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x249ccd8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:580:24 > #2 0x140b137 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:1317:8 > #3 0x1522f60 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 0x12b0e67 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:389:17 > #5 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #8 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #9 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fadd3a2d082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fadd4cdf5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==845730==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x249ccd8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:580:24 > #2 0x140b137 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:1317:8 > #3 0x1522f60 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 0x12b0e67 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:389:17 > #5 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #8 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #9 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7ff78e8c5082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7ff78fb775ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==845742==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x249ccd8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:580:24 > #2 0x140b137 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:1317:8 > #3 0x1522f60 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 0x12b0e67 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:389:17 > #5 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #8 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #9 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f2695a57082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f2696d095ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==845640==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x249ccd8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:580:24 > #2 0x140b137 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:1317:8 > #3 0x1522f60 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 0x12b0e67 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:389:17 > #5 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #8 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #9 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f056612f082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f05673e15ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==845620==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x249ccd8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:580:24 > #2 0x140b137 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:1317:8 > #3 0x1522f60 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 0x12b0e67 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:389:17 > #5 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #8 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #9 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fe1452b0082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fe1465625ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==845633==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x249ccd8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:580:24 > #2 0x140b137 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:1317:8 > #3 0x1522f60 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 0x12b0e67 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:389:17 > #5 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #8 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #9 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f49d823a082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f49d94ec5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==845627==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x249ccd8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:580:24 > #2 0x140b137 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:1317:8 > #3 0x1522f60 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 0x12b0e67 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:389:17 > #5 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #8 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #9 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f2b6d78a082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f2b6ea3c5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==845638==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x249ccd8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:580:24 > #2 0x140b137 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:1317:8 > #3 0x1522f60 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 0x12b0e67 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:389:17 > #5 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #7 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #8 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #9 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f12eb5a8082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f12ec85a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==845744==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 480 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1303d4e in TraCIServerAPI_Simulation::readStage(TraCIServer&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:452:19 > #2 0x12ae40e in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:329:68 > #3 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #6 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #7 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f1a6dc36082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1303d4e in TraCIServerAPI_Simulation::readStage(TraCIServer&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:452:19 > #2 0x12a9956 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:236:55 > #3 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #6 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #7 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 3a8,379 > > ================================================================= > ==845743==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fd59a7755ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd5994c3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==845741==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f2d7ff3a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2d7ec88082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==845798==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f1760eca5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f175fc18082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==845803==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f19478f15ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f194663f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==845795==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 208 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x15deb3e in libsumo::Simulation::findIntermodalRoute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, int, double, double, double, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/libsumo/Simulation.cpp:682:51 > #2 0x12f4772 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #6 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #7 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f82239c7082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f8224c795ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) <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 0x606000085ca0 which does not point to an object of type 'ParametrisedWrappingCommand<ShapeContainer, PolygonDynamics *>' > 0x606000085ca0: note: object has invalid vptr > 32 00 80 5d 2e 00 80 77 00 00 00 00 00 00 00 00 be be be be 80 8a 00 00 30 61 00 00 00 cc 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 0x606000085ca0 which does not point to an object of type 'ParametrisedWrappingCommand<ShapeContainer, PolygonDynamics *>' > 0x606000085ca0: note: object has invalid vptr > 32 00 80 5d 2e 00 80 77 00 00 00 00 00 00 00 00 be be be be 80 8a 00 00 30 61 00 00 00 cc 02 00 > ^~~~~~~~~~~~~~~~~~~~~~~ > invalid vptr > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/common/ParametrisedWrappingCommand.h:66:9 in > ================================================================= > ==846413==ERROR: AddressSanitizer: heap-use-after-free on address 0x606000085cd0 at pc 0x000002fe25cb bp 0x7fff13fa5410 sp 0x7fff13fa5408 > WRITE of size 1 at 0x606000085cd0 thread T0 > #0 0x2fe25ca in ParametrisedWrappingCommand<ShapeContainer, PolygonDynamics*>::deschedule() /home/delphi/clangDebug/sumo/src/utils/common/ParametrisedWrappingCommand.h:66:33 > #1 0x2fd66d2 in ShapeContainer::~ShapeContainer() /home/delphi/clangDebug/sumo/src/utils/shapes/ShapeContainer.cpp:51:19 > #2 0x2fd6ee4 in ShapeContainer::~ShapeContainer() /home/delphi/clangDebug/sumo/src/utils/shapes/ShapeContainer.cpp:49:35 > #3 0x5615e5 in MSNet::~MSNet() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:311:5 > #4 0x5633f4 in MSNet::~MSNet() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:287:17 > #5 0x5546c1 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:99:17 > #6 0x7fd018520082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > #7 0x4a84ed in _start (/home/delphi/clangDebug/sumo/bin/sumoD+0x4a84ed) > > 0x606000085cd0 is located 48 bytes inside of 56-byte region [0x606000085ca0,0x606000085cd8) <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 > > ================================================================= > ==846441==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3b30514082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3b30514082 in __libc_start_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 > > ================================================================= > ==846416==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f560f3e8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==846434==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f34a9241082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd222 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,290 > > ================================================================= > ==846692==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdd07fff082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fdd07fff082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==846266==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 208 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x157363a 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 0x12cd137 in TraCIServerAPI_Route::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Route.cpp:74:17 > #3 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #6 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #7 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f2d7affa082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2d7affa082 in __libc_start_main /build/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 > > ================================================================= > ==846765==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 4096 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f47c557ef52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==846631==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xf78791 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:1946:31 > #9 0xf7fee9 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:1825:9 > #10 0xf69b1a 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:1585:13 > #11 0xe79cbf 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 0x56ac62 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:664:22 > #13 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #14 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #15 0x7fec1b03b082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) <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 > > ================================================================= > ==846630==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 40 byte(s) in 1 object(s) allocated from: > #0 0x5504ad in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x5504ad) > #1 0x3070ebd in OptionsIO::setArgs(int, char**) /home/delphi/clangDebug/sumo/src/utils/options/OptionsIO.cpp:61:24 > #2 0x554146 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:92:9 > #3 0x7f6d8303f082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6d8303f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, 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 > > ================================================================= > ==846528==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0xee614d in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #11 0x56bd3f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:685:17 > #12 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #13 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #14 0x7f4ea7928082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==846486==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xcd4741 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd12c9 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7f3450d92f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff 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 > > ================================================================= > ==846565==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6c7b434082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6c7b434082 in __libc_start_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 > > ================================================================= > ==846491==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f856e4e5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f856e4e5082 in __libc_start_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 > > ================================================================= > ==846539==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x17866ac in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x308a9d3 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 0x7f7c45c275ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7c44975082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==846543==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x17866ac in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x308a9d3 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 0x7fb68c7eb5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb68b539082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==846563==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 48 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0xcc48e0 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x308a9d3 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 0x7f5bf70795ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x17866ac in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x308a9d3 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 0x7f5bf70795ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 203 (8-bit, unsigned) to type 'char' changed the value to -53 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -53 (8-bit, signed) to type 'unsigned char' changed the value to 203 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==846484==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0b1a984082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f0b1a984082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,289 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 203 (8-bit, unsigned) to type 'char' changed the value to -53 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -53 (8-bit, signed) to type 'unsigned char' changed the value to 203 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==846454==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f66f806a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f66f806a082 in __libc_start_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 > > ================================================================= > ==846485==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 8192 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xcd4741 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd12c9 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7efc33f61f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==846540==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f378d83cf52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==846534==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ffa01153082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ffa01153082 in __libc_start_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 > > ================================================================= > ==846538==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1f76350082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1f76350082 in __libc_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 > > ================================================================= > ==846617==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 832 byte(s) in 4 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x15deb3e in libsumo::Simulation::findIntermodalRoute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, int, double, double, double, double, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/libsumo/Simulation.cpp:682:51 > #2 0x12f4772 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #6 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #7 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #8 0x7f4fc3038082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x15d5cdc in libsumo::Simulation::findRoute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, int) /home/delphi/clangDebug/sumo/src/libsumo/Simulation.cpp:562:43 > #2 0x12f1093 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:227:56 > #3 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #5 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #6 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #7 0x5544bd 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 > > ================================================================= > ==846138==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==846098==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==846161==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==846107==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==846130==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==846217==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f53a44af082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f53a44af082 in __libc_start_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 > > ================================================================= > ==846223==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff24208d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff24208d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==845861==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fe9c3ad3f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==845933==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7ff134108f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==845941==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fc7a3989f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==845940==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fc223b68f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==845939==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fc74c3baf52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==845942==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f68b9e06f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==845938==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fa08bd34f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,335 > > ================================================================= > ==845943==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f00e4afdf52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==845960==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fcef4c8cf52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,335 > > ================================================================= > ==845993==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fecef8bcf52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 4a9,338 > > ================================================================= > ==845981==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f4b02906f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,336 > > ================================================================= > ==846013==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f8c0e617f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,335 > > ================================================================= > ==846020==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fdebaa87f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,336 > > ================================================================= > ==846073==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f1d1e954f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==846097==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fadea2f7f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==846084==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f915c2a7f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==846087==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f48763c7f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==846067==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fc9e8338f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 5a10,371 > > ================================================================= > ==846069==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xd1ed7e 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:455:27 > #9 0xa230d6 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 0xd1afc8 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:393:10 > #11 0xd158ef 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:318:5 > #12 0x1eeb603 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 0x1d678e1 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:294:5 > #14 0x1d6333b in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:259:13 > #15 0x1d6c9be in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104:16 > #16 0xece540 in MSEventControl::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEventControl.cpp:69:33 > #17 0x56c035 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:686:24 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 4a9,346 > > ================================================================= > ==846086==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f8511111f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,335 > > ================================================================= > ==845872==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f2562a9af52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 2a7,337 > > ================================================================= > ==845931==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0xcd4741 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd12c9 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7fed50b38f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) <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 > > ================================================================= > ==846216==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7254e2e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==846204==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f04569ee082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,337 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==846220==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #12 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f3091441f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,255 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==846213==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc7c44bb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc7c44bb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 1a2,9 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/utils/router/RailEdge.h:88:41: runtime error: reference binding to null pointer of type 'const MSEdge' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/router/RailEdge.h:88:41 in > /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:241:64: runtime error: reference binding to null pointer of type 'const MSEdge' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:241:64 in 2a11,1010 > LLVMSymbolizer: error reading file: No such file or directory > > ================================================================= > ==846224==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 1840 byte(s) in 5 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1fd51a8 in MSEdge::getRailwayRoutingEdge() const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:820:36 > #2 0x1ef610a 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 0x1ee981b in MSRoutingEngine::initRouter(SUMOVehicle*) /home/delphi/clangDebug/sumo/src/microsim/devices/MSRoutingEngine.cpp:420:26 > #4 0x1eea84f 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 0x1d678e1 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:294:5 > #6 0x1d6333b in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:259:13 > #7 0x1d6c9be in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104:16 > #8 0xece540 in MSEventControl::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEventControl.cpp:69:33 > #9 0x56c035 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:686:24 > #10 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #11 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #12 0x7fa08147c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,295 > > ================================================================= > ==846165==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f65f2fca082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,251 > > ================================================================= > ==846731==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ffa660f0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ffa660f0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==845175==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1ca1240082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1ca1240082 in __libc_start_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 > > ================================================================= > ==845212==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1845cf8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1845cf8082 in __libc_start_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 > > ================================================================= > ==845174==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f78515c7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f78515c7082 in __libc_start_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 > > ================================================================= > ==845237==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1c2f579082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1c2f579082 in __libc_start_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 > > ================================================================= > ==845229==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd7c0921082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==845232==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ffb00cbb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==845228==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f84d4862082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fdbb8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f84d4862082 in __libc_start_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 > > ================================================================= > ==845224==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbc7390d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fbc7390d082 in __libc_start_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 > > ================================================================= > ==843984==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc05bed0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc05bed0082 in __libc_start_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 > > ================================================================= > ==844026==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdf261e6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fdf261e6082 in __libc_start_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 > > ================================================================= > ==844027==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff970656082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff970656082 in __libc_start_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 > > ================================================================= > ==844032==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc1ecf47082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc1ecf47082 in __libc_start_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 > > ================================================================= > ==844034==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6b6f316082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==843986==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f37e33d1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f37e33d1082 in __libc_start_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 > > ================================================================= > ==844040==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f99aed3b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f99aed3b082 in __libc_start_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 > > ================================================================= > ==844125==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe4cd45c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe4cd45c082 in __libc_start_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 > > ================================================================= > ==844080==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f31881e2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f31881e2082 in __libc_start_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 > > ================================================================= > ==844060==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5d2516d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f5d2516d082 in __libc_start_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 > > ================================================================= > ==844088==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbac9adc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fbac9adc082 in __libc_start_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 > > ================================================================= > ==844087==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==844120==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0daebfb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==844047==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5c5f581082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f5c5f581082 in __libc_start_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 > > ================================================================= > ==844142==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1bd1972082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1bd1972082 in __libc_start_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 > > ================================================================= > ==844154==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2a246e3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2a246e3082 in __libc_start_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 > > ================================================================= > ==844167==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd9276a7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd9276a7082 in __libc_start_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 > > ================================================================= > ==844164==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe3f0e67082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe3f0e67082 in __libc_start_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 > > ================================================================= > ==844215==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbc24c80082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fbc24c80082 in __libc_start_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 > > ================================================================= > ==844166==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fabf90a6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fabf90a6082 in __libc_start_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 > > ================================================================= > ==844172==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3f97b26082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3f97b26082 in __libc_start_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 > > ================================================================= > ==844192==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7763e55082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7763e55082 in __libc_start_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 > > ================================================================= > ==844207==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f15b6011082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f15b6011082 in __libc_start_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 > > ================================================================= > ==845353==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f759501e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f759501e082 in __libc_start_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 > > ================================================================= > ==845505==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f42f8d37082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f42f8d37082 in __libc_start_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 > > ================================================================= > ==845424==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbcdf32d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fbcdf32d082 in __libc_start_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 > > ================================================================= > ==845497==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f13603c0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==845499==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f71c769af52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 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 > > ================================================================= > ==845358==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 256 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fbdbffcdf52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==845355==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7ff25d4c4f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==845359==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 512 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394: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 > > ================================================================= > ==845425==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f042d9b6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fdbb8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f042d9b6082 in __libc_start_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 > > ================================================================= > ==845541==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==844956==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xd1ed7e 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:455:27 > #9 0xa230d6 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 0xd1afc8 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:393:10 > #11 0xd6bc96 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:1678:12 > #12 0x16af1e8 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 0x1385164 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 0x135e3d7 in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:493:22 > #15 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #16 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #17 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==844748==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9ddfd79082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9ddfd79082 in __libc_start_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 > > ================================================================= > ==844822==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fde0dc17082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==844758==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7feb7b3a1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7feb7b3a1082 in __libc_start_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 > > ================================================================= > ==844746==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8cc38f7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8cc38f7082 in __libc_start_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 > > ================================================================= > ==844777==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9b170e5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9b170e5082 in __libc_start_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 > > ================================================================= > ==844776==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe8a352f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd222 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==844964==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f24b9dc4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==844940==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f030a304082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f030a304082 in __libc_start_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 > > ================================================================= > ==845006==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efc35556082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7efc35556082 in __libc_start_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 > > ================================================================= > ==844958==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd40b6e9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==844803==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb15d8ad082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb15d8ad082 in __libc_start_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 > > ================================================================= > ==844780==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6b8c108082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f6b8c108082 in __libc_start_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 > > ================================================================= > ==844872==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb9692de082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb9692de082 in __libc_start_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 > > ================================================================= > ==844825==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0943090082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd222 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,8 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/utils/router/RailEdge.h:88:41: runtime error: reference binding to null pointer of type 'const MSEdge' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/router/RailEdge.h:88:41 in > /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:241:64: runtime error: reference binding to null pointer of type 'const MSEdge' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:241:64 in 18a27,1358 > LLVMSymbolizer: error reading file: No such file or directory > > ================================================================= > ==844869==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 16192 byte(s) in 44 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1fd51a8 in MSEdge::getRailwayRoutingEdge() const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:820:36 > #2 0x1ef610a 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 0x1ee981b in MSRoutingEngine::initRouter(SUMOVehicle*) /home/delphi/clangDebug/sumo/src/microsim/devices/MSRoutingEngine.cpp:420:26 > #4 0x1eea84f 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 0x1d678e1 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:294:5 > #6 0x1d6333b in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:259:13 > #7 0x1d6c9be in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104:16 > #8 0xece540 in MSEventControl::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEventControl.cpp:69:33 > #9 0x56c035 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:686:24 > #10 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #11 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #12 0x7f25faacf082 in __libc_start_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 > > ================================================================= > ==844853==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efcbf8e6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd222 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==844873==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2dfbd51082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2dfbd51082 in __libc_start_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 > > ================================================================= > ==844929==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9ed45cc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9ed45cc082 in __libc_start_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 > > ================================================================= > ==844974==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f50cb2c6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==845514==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f95ed138082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==843638==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f75ec396f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==843674==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394: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 > > ================================================================= > ==843673==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394: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 > > ================================================================= > ==843680==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394: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 > > ================================================================= > ==843719==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394: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 > > ================================================================= > ==843721==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394: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 > > ================================================================= > ==843982==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ffa245d0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ffa245d0082 in __libc_start_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 > > ================================================================= > ==843945==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f14b3eb2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f14b3eb2082 in __libc_start_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 > > ================================================================= > ==843958==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4ea4da1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4ea4da1082 in __libc_start_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 > > ================================================================= > ==843931==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1cf7883082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11faefc in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==843809==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f360b693082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==843760==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3086739082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==843767==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f553efe7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==843768==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7c02830082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7c02830082 in __libc_start_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 > > ================================================================= > ==843894==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3c54f44082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3c54f44082 in __libc_start_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 > > ================================================================= > ==843898==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4a4fb5e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f4a4fb5e082 in __libc_start_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 > > ================================================================= > ==843901==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f01a2ae2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f01a2ae2082 in __libc_start_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 > > ================================================================= > ==843803==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3dcc76d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3dcc76d082 in __libc_start_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 > > ================================================================= > ==843724==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9348875082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9348875082 in __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 > > ================================================================= > ==843868==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcb63c4c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fcb63c4c082 in __libc_start_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 > > ================================================================= > ==843870==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff617bfd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff617bfd082 in __libc_start_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 > > ================================================================= > ==843859==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcf56619082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==843723==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fafb5d0f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fafb5d0f082 in __libc_start_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 > > ================================================================= > ==843722==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7b28843082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7b28843082 in __libc_start_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 > > ================================================================= > ==843858==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa9e2d8a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa9e2d8a082 in __libc_start_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 > > ================================================================= > ==843934==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa2d94f9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==843772==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fde0f9b3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fde0f9b3082 in __libc_start_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 > > ================================================================= > ==843759==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff166394082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7ff166394082 in __libc_start_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 > > ================================================================= > ==843852==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7f12f0d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7f12f0d082 in __libc_start_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 > > ================================================================= > ==843902==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9fd7643082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9fd7643082 in __libc_start_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 > > ================================================================= > ==843813==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3fc61ff082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3fc61ff082 in __libc_start_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 > > ================================================================= > ==845346==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0092397082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==844304==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fce7751d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fce7751d082 in __libc_start_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 > > ================================================================= > ==844312==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd3a4e9e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd3a4e9e082 in __libc_start_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 > > ================================================================= > ==844271==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f9225fb25fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==844341==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fa22fe205fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==844302==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fea4570b5fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==844348==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fa57a4d15fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==844355==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f3ccb6b45fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 > > ================================================================= > ==844331==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f366342a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==844249==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fab3b62b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fab3b62b082 in __libc_start_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 > > ================================================================= > ==844266==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f987b4b0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f987b4b0082 in __libc_start_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 > > ================================================================= > ==844231==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8e0a4bc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8e0a4bc082 in __libc_start_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 > > ================================================================= > ==844214==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdcbbb11082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fdcbbb11082 in __libc_start_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 > > ================================================================= > ==844315==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f48cd661082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f48cd661082 in __libc_start_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 > > ================================================================= > ==845426==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x5504ad in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x5504ad) > #1 0x3070ebd in OptionsIO::setArgs(int, char**) /home/delphi/clangDebug/sumo/src/utils/options/OptionsIO.cpp:61:24 > #2 0x554146 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:92:9 > #3 0x7f4e78290082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4e78290082 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 0x5504ad in operator new[](unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x5504ad) > #1 0x307116f in OptionsIO::setArgs(int, char**) /home/delphi/clangDebug/sumo/src/utils/options/OptionsIO.cpp:64:24 > #2 0x554146 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:92:9 > #3 0x7f4e78290082 in __libc_start_main /build/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 > > ================================================================= > ==844638==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xd1ed7e 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:455:27 > #9 0xa230d6 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 0xd1afc8 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:393:10 > #11 0xd5f857 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:1526:12 > #12 0x16ae6ab 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 0x1384ecd 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 0x135e29f in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:488:22 > #15 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #16 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #17 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==844433==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f64dfba1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f64dfba1082 in __libc_start_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 > > ================================================================= > ==844449==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa1c0f44082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa1c0f44082 in __libc_start_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 > > ================================================================= > ==844442==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1f5f731082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1f5f731082 in __libc_start_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 > > ================================================================= > ==844464==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fac39755082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fac39755082 in __libc_start_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 > > ================================================================= > ==844699==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3522225082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f3522225082 in __libc_start_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 > > ================================================================= > ==844724==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe989426082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fe989426082 in __libc_start_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 > > ================================================================= > ==844726==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0fd7633082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 > > ================================================================= > ==844477==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0d070c8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd222 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==844653==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe1a9d88082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==844605==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd9fcbd2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd9fcbd2082 in __libc_start_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 > > ================================================================= > ==844628==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdbe59ba082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fdbe59ba082 in __libc_start_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 > > ================================================================= > ==844607==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f698ca55082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f698ca55082 in __libc_start_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 > > ================================================================= > ==844612==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4f4cc8c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd222 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==844702==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f55f793f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f55f793f082 in __libc_start_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 > > ================================================================= > ==844656==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fee30790082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==844520==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9230f75082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f9230f75082 in __libc_start_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 > > ================================================================= > ==844517==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xd1ed7e 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:455:27 > #9 0xa230d6 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 0xd1afc8 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:393:10 > #11 0xd642f5 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:1580:12 > #12 0x16adb07 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 0x1384ecd 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 0x135e29f in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:488:22 > #15 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #16 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #17 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394: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 > > ================================================================= > ==844510==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f54cc2f8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f54cc2f8082 in __libc_start_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 > > ================================================================= > ==844483==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2c951be082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2c951be082 in __libc_start_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 > > ================================================================= > ==844580==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fee49ef9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fdbb8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fee49ef9082 in __libc_start_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 > > ================================================================= > ==844516==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f742488f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f742488f082 in __libc_start_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 > > ================================================================= > ==844553==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7d3708e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7d3708e082 in __libc_start_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 > > ================================================================= > ==844690==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f73755f75ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7374345082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==844550==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f92e5329082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd222 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,8 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/utils/router/RailEdge.h:88:41: runtime error: reference binding to null pointer of type 'const MSEdge' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/router/RailEdge.h:88:41 in > /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:241:64: runtime error: reference binding to null pointer of type 'const MSEdge' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:241:64 in 5a14,1392 > LLVMSymbolizer: error reading file: No such file or directory > > ================================================================= > ==844574==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 16192 byte(s) in 44 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1fd51a8 in MSEdge::getRailwayRoutingEdge() const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:820:36 > #2 0x1ef610a 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 0x1ee981b in MSRoutingEngine::initRouter(SUMOVehicle*) /home/delphi/clangDebug/sumo/src/microsim/devices/MSRoutingEngine.cpp:420:26 > #4 0x1eea84f 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 0x1d678e1 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:294:5 > #6 0x1d6333b in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:259:13 > #7 0x1d6c9be in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104:16 > #8 0xece540 in MSEventControl::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEventControl.cpp:69:33 > #9 0x56c035 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:686:24 > #10 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #11 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #12 0x7f38ed988082 in __libc_start_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 > > ================================================================= > ==844575==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f691da26082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd222 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==844681==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff095356082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==845345==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8679fcc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f8679fcc082 in __libc_start_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 > > ================================================================= > ==845493==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1fec18b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f1fec18b082 in __libc_start_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 > > ================================================================= > ==845455==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7499226082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f7499226082 in __libc_start_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 > > ================================================================= > ==845504==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2682d06082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fb892 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f2682d06082 in __libc_start_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 > > ================================================================= > ==845498==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1c8fa4c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==844417==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f49f3624082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fdbb8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f49f3624082 in __libc_start_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 > > ================================================================= > ==844385==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb452c0d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fdbb8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fb452c0d082 in __libc_start_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 > > ================================================================= > ==844364==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f33c7aab082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fdbb8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f33c7aab082 in __libc_start_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 > > ================================================================= > ==844387==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe0b06d1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==844432==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5a253b0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fdbb8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f5a253b0082 in __libc_start_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 > > ================================================================= > ==844439==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd92dcc1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fdbb8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fd92dcc1082 in __libc_start_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 > > ================================================================= > ==845473==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa1ea111082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fa1ea111082 in __libc_start_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 > > ================================================================= > ==845482==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7faed131b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fbbc4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7faed131b082 in __libc_start_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 > > ================================================================= > ==843633==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 576 byte(s) in 24 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1bf8d69 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:3278:30 > #2 0x1b9cf14 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:3231:9 > #3 0x1b94a0f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:498:9 > #4 0x1b93fe6 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:464:9 > #5 0x5956aa in MSNet::writeOutput() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1048:14 > #6 0x56d57c in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:717:5 > #7 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #8 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #9 0x7febf77b0082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1c00679 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:3387:26 > #2 0x1bfbe28 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:3409:9 > #3 0x1bf7670 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:3458:5 > #4 0x1b97441 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:3052:9 > #5 0x1b94a0f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:498:9 > #6 0x1b93fe6 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:464:9 > #7 0x5956aa in MSNet::writeOutput() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1048: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 > > ================================================================= > ==843635==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 480 byte(s) in 20 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1bf8d69 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:3278:30 > #2 0x1b9cf14 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:3231:9 > #3 0x1b94a0f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:498:9 > #4 0x1b93fe6 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:464:9 > #5 0x5956aa in MSNet::writeOutput() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1048:14 > #6 0x56d57c in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:717:5 > #7 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #8 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #9 0x7f3532db0082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1c00679 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:3387:26 > #2 0x1bfbe28 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:3409:9 > #3 0x1bf7670 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:3458:5 > #4 0x1b97441 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:3052:9 > #5 0x1b94a0f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:498:9 > #6 0x1b93fe6 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:464:9 > #7 0x5956aa in MSNet::writeOutput() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1048: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 > > ================================================================= > ==845361==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f85842d7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f85842d7082 in __libc_start_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 > > ================================================================= > ==845410==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f24ed13f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f24ed13f082 in __libc_start_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 > > ================================================================= > ==845362==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f235006e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fd886 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,449 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==845030==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fe4292645ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1e76501 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 0x1e6e805 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b54bc6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0d37a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x308c758 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 > > ================================================================= > ==845088==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fb9eecab5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1e76501 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 0x1e6e805 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b54bc6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0d37a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x308c758 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 > > ================================================================= > ==845073==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f0e73ed95ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1e76501 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 0x1e6e805 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b54bc6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0d37a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x308c758 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 > > ================================================================= > ==845114==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f1e75cf45ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1e76501 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 0x1e6e805 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b54bc6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0d37a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x308c758 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 > > ================================================================= > ==845092==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7ff50aef85ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1e76501 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 0x1e6e805 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b54bc6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0d37a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x308c758 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 > > ================================================================= > ==845091==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7facc3f395ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1e76501 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 0x1e6e805 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b54bc6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0d37a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x308c758 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 > > ================================================================= > ==845094==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f2ef6d675ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1e76501 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 0x1e6e805 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b54bc6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0d37a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x308c758 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 > > ================================================================= > ==845093==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7effa628d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1e76501 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 0x1e6e805 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b54bc6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0d37a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,487 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==845100==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f5d11aef5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1e76501 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 0x1e6e805 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b54bc6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0d37a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,452 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==845017==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 24 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x17866ac in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x308a9d3 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 0x7f2bc1fe75ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1e76501 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 0x1e6e805 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b54bc6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0d37a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eafbba 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 > > ================================================================= > ==845127==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 96 byte(s) in 4 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f81493af5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1e76501 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 0x1e6e805 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b54bc6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0d37a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x308c758 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 > > ================================================================= > ==845164==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 144 byte(s) in 6 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fb0839515ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1e76501 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 0x1e6e805 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b54bc6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0d37a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x308c758 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 > > ================================================================= > ==845163==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f97b666f5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1e76501 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 0x1e6e805 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b54bc6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0d37a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x308c758 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 > > ================================================================= > ==845033==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 72 byte(s) in 3 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f9a560765ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1e76501 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 0x1e6e805 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b54bc6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0d37a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,440 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==845035==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 16 byte(s) in 2 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1e76501 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 0x1e6e805 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b54bc6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0d37a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #9 0x8fb3d2 in MSRouteHandler::closeTrip() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:992:5 > #10 0x2eafbba in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #12 0x7f39d94bff52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::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 > > ================================================================= > ==845250==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1064 byte(s) in 7 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0xb56a5b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13bdf3b in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x16915b6 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 0x1700a3d 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:2518:57 > #5 0x133e7cc in TraCIServerAPI_Vehicle::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:63:14 > #6 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #7 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #8 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #9 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #10 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #11 0x7f744a408082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) <truncated after showing first 30 lines> ---------- Differences in output ---------- 1088c1088 < elVeh speed="0.0" consumed="0.00" charged="0.00" totalConsumed="0.00" totalRegenerated="0.00" cap="17500.00" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=0.0308641975308642 --- > elVeh speed="0.0" consumed="0.00" charged="0.00" totalConsumed="0.00" totalRegenerated="0.00" cap="17500.00" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=0.02834467120181406 1090c1090 < elVeh speed="2.142507974128239" consumed="0.83" charged="0.00" totalConsumed="0.83" totalRegenerated="0.00" cap="17499.17" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=0.8281454631982864 --- > elVeh speed="2.142507974128239" consumed="0.76" charged="0.00" totalConsumed="0.76" totalRegenerated="0.00" cap="17499.24" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=0.7570340909389025 1092c1092 < elVeh speed="4.0920151865342635" consumed="6.78" charged="0.00" totalConsumed="7.61" totalRegenerated="0.00" cap="17492.39" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=6.782047254431277 --- > elVeh speed="4.0920151865342635" consumed="2.78" charged="0.00" totalConsumed="3.53" totalRegenerated="0.00" cap="17496.47" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=2.7762810966571836 1094c1094 < elVeh speed="6.0763597270241005" consumed="7.24" charged="0.00" totalConsumed="14.85" totalRegenerated="0.00" cap="17485.15" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=7.242247363154724 --- > elVeh speed="6.0763597270241005" consumed="3.85" charged="0.00" totalConsumed="7.38" totalRegenerated="0.00" cap="17492.62" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=3.845750641885389 1096c1096 < elVeh speed="7.398635938134976" consumed="3.30" charged="0.00" totalConsumed="18.15" totalRegenerated="0.00" cap="17481.85" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=3.301603884568874 --- > elVeh speed="7.398635938134976" consumed="2.89" charged="0.00" totalConsumed="10.27" totalRegenerated="0.00" cap="17489.73" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=2.8876392920534024 1098c1098 < elVeh speed="8.720404998282902" consumed="4.04" charged="0.00" totalConsumed="22.19" totalRegenerated="0.00" cap="17477.81" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=4.03766864500821 --- > elVeh speed="8.720404998282902" consumed="3.47" charged="0.00" totalConsumed="13.74" totalRegenerated="0.00" cap="17486.26" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=3.471547199074477 1100c1100 < elVeh speed="8.807821347867138" consumed="0.93" charged="0.00" totalConsumed="23.12" totalRegenerated="0.00" cap="17476.88" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=0.9268917270569846 --- > elVeh speed="8.807821347867138" consumed="0.61" charged="0.00" totalConsumed="14.35" totalRegenerated="0.00" cap="17485.65" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=0.607526965804184 1102c1102 < elVeh speed="9.485338546615093" consumed="2.76" charged="0.00" totalConsumed="25.88" totalRegenerated="0.00" cap="17474.12" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=2.7591550030138574 <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 > > ================================================================= > ==845292==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fac23989082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fac23989082 in __libc_start_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 > > ================================================================= > ==845296==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 128 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfecd2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd247f7 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:538:47 > #10 0xad5adc in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5136:9 > #11 0xf29179 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:407:10 > #12 0xf4243c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1202:5 > #13 0xf4df78 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:710:26 > #14 0xdd2ecc in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee0c87 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xedfbe1 in MSInsertionControl::emitVehicles(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:139:27 > #17 0x56c210 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:690:17 > #18 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #19 0x5544bd 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 > > ================================================================= > ==845279==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 1064 byte(s) in 7 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0xb56a5b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13bdf3b in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x16915b6 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 0x1700a3d 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:2518:57 > #5 0x133e7cc in TraCIServerAPI_Vehicle::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:63:14 > #6 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #7 0x1210c11 in TraCIServer::processCommandsUntilSimStep(long long) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:673:41 > #8 0x5677af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:599:12 > #9 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #10 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #11 0x7ff52fd7a082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) <truncated after showing first 30 lines> ---------- Differences in output ---------- 1088c1088 < elVeh speed="0.0" consumed="0.00" charged="0.00" totalConsumed="0.00" totalRegenerated="0.00" cap="17500.00" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=0.0308641975308642 --- > elVeh speed="0.0" consumed="0.00" charged="0.00" totalConsumed="0.00" totalRegenerated="0.00" cap="17500.00" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=0.02834467120181406 1090c1090 < elVeh speed="2.142507974128239" consumed="0.83" charged="0.00" totalConsumed="0.83" totalRegenerated="0.00" cap="17499.17" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=0.8281454631982864 --- > elVeh speed="2.142507974128239" consumed="0.76" charged="0.00" totalConsumed="0.76" totalRegenerated="0.00" cap="17499.24" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=0.7570340909389025 1092c1092 < elVeh speed="4.0920151865342635" consumed="6.78" charged="0.00" totalConsumed="7.61" totalRegenerated="0.00" cap="17492.39" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=6.782047254431277 --- > elVeh speed="4.0920151865342635" consumed="2.78" charged="0.00" totalConsumed="3.53" totalRegenerated="0.00" cap="17496.47" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=2.7762810966571836 1094c1094 < elVeh speed="6.0763597270241005" consumed="7.24" charged="0.00" totalConsumed="14.85" totalRegenerated="0.00" cap="17485.15" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=7.242247363154724 --- > elVeh speed="6.0763597270241005" consumed="3.85" charged="0.00" totalConsumed="7.38" totalRegenerated="0.00" cap="17492.62" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=3.845750641885389 1096c1096 < elVeh speed="7.398635938134976" consumed="3.30" charged="0.00" totalConsumed="18.15" totalRegenerated="0.00" cap="17481.85" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=3.301603884568874 --- > elVeh speed="7.398635938134976" consumed="2.89" charged="0.00" totalConsumed="10.27" totalRegenerated="0.00" cap="17489.73" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=2.8876392920534024 1098c1098 < elVeh speed="8.720404998282902" consumed="4.04" charged="0.00" totalConsumed="22.19" totalRegenerated="0.00" cap="17477.81" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=4.03766864500821 --- > elVeh speed="8.720404998282902" consumed="3.47" charged="0.00" totalConsumed="13.74" totalRegenerated="0.00" cap="17486.26" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=3.471547199074477 1100c1100 < elVeh speed="8.807821347867138" consumed="0.93" charged="0.00" totalConsumed="23.12" totalRegenerated="0.00" cap="17476.88" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=0.9268917270569846 --- > elVeh speed="8.807821347867138" consumed="0.61" charged="0.00" totalConsumed="14.35" totalRegenerated="0.00" cap="17485.65" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=0.607526965804184 1102c1102 < elVeh speed="9.485338546615093" consumed="2.76" charged="0.00" totalConsumed="25.88" totalRegenerated="0.00" cap="17474.12" maxCap="40000.00" station="NULL" mass=1024.00 emissionClass=Energy/default electricityConsumption=2.7591550030138574 <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 > > ================================================================= > ==845294==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f35e7a4a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7f35e7a4a082 in __libc_start_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 > > ================================================================= > ==845574==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f06b07d1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fabca in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==845572==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0fd8d03082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x124dd30 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x124dc5d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x124d90c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124ba82 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124a693 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x1231adb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fa898 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 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 > > ================================================================= > ==847230==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 86032 byte(s) in 566 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0xb56a5b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd0d982 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:164:9 > #3 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xee614d in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #7 0x56bd3f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:685:17 > #8 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #9 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f085a88e082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x2c3b920 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 0x2c3b84d 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 0x2c3b4fc 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 0x2c416e2 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 0x2c410f3 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 0x2c2e246 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 > > ================================================================= > ==847298==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 86184 byte(s) in 567 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0xb56a5b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd0d982 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:164:9 > #3 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xee614d in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #7 0x56bd3f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:685:17 > #8 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #9 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fb1bcd18082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x2c3b920 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 0x2c3b84d 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 0x2c3b4fc 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 0x2c416e2 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 0x2c410f3 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 0x2c2e246 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 > > ================================================================= > ==847192==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 85576 byte(s) in 563 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0xb56a5b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd0d982 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:164:9 > #3 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xee614d in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #7 0x56bd3f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:685:17 > #8 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #9 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7fb1e7419082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x2c3b920 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 0x2c3b84d 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 0x2c3b4fc 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 0x2c416e2 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 0x2c410f3 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 0x2c2e246 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 > > ================================================================= > ==847198==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 85120 byte(s) in 560 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0xb56a5b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd0d982 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:164:9 > #3 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xee614d in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #7 0x56bd3f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:685:17 > #8 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #9 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #10 0x7f664c6e2082 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x2c3b920 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 0x2c3b84d 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 0x2c3b4fc 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 0x2c416e2 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 0x2c410f3 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 0x2c2e246 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 > > ================================================================= > ==847262==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 7776 byte(s) in 324 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fb200fe65ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x2034290 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 0x1e74f9c 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 0x24f1957 in MSStageDriving::registerWaiting(MSTransportable*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSStageDriving.cpp:289:9 > #4 0x24ee151 in MSStageDriving::proceed(MSNet*, MSTransportable*, long long, MSStage*) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSStageDriving.cpp:256:9 > #5 0x2516854 in MSTransportable::proceed(MSNet*, long long, bool) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportable.cpp:118:20 > #6 0x249c3aa in MSPerson::MSPersonStage_Walking::moveToNextEdge(MSTransportable*, long long, int, MSEdge*) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:331:22 > #7 0x25cd4b0 in MSPModel_Striping::arriveAndAdvance(std::vector<MSPModel_Striping::PState*, std::allocator<MSPModel_Striping::PState*> >&, long long, std::set<MSPerson*, std::less<MSPerson*>, std::allocator<MSPerson*> >&, int) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPModel_Striping.cpp:1121:29 > #8 0x25bf60f in MSPModel_Striping::moveInDirection(long long, std::set<MSPerson*, std::less<MSPerson*>, std::allocator<MSPerson*> >&, int) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPModel_Striping.cpp:1077:13 > #9 0x26064db in MSPModel_Striping::MovePedestrians::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPModel_Striping.cpp:2467:14 > #10 0xece540 in MSEventControl::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEventControl.cpp:69:33 > #11 0x569af9 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:636:30 > #12 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #13 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #14 0x7fb1ffd34082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > <truncated after showing first 30 lines>
---------- Differences in errors ---------- 4a5,32 > > ================================================================= > ==847297==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 7776 byte(s) in 324 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7faf457f15ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1e76501 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 0x1e6e805 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b54bc6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0d37a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0xee614d in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #9 0x56bd3f in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:685:17 > #10 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 > #11 0x5544bd in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:98:30 > #12 0x7faf4453f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > SUMMARY: AddressSanitizer: 7800 byte(s) leaked in 327 allocation(s).
---------- Differences in errors ---------- 1a2,14 > > ================================================================= > ==847493==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 4800 byte(s) in 200 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f34356035ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==847804==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 2256 byte(s) in 94 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7fe8042735ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfd3a9 in MSVehicleControl::removePending() /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:157:31 > #9 0xe76b43 in MSEdgeControl::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSEdgeControl.cpp:240:47 > #10 0x56a9f6 in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:662:18 > #11 0x566494 in MSNet::simulate(long long, long long) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:394:9 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,517 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==847401==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 120 byte(s) in 5 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x92969b in MSRouteHandler::addPerson(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:1507:33 > #2 0x2ea6abb in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:102:13 > #3 0x8bcdf1 in MSRouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:192:27 > #4 0x308a9d3 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 0x7f44a7ac15ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1e767b8 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 0x1e6e805 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b54bc6 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0d37a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x16cca19 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 0x1379285 in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:1103:17 > #10 0x120722b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #11 0x1210c11 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 > > ================================================================= > ==847630==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 2048 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x675b26 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_realloc_insert<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:440:33 > #5 0x5bd84b in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::push_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1195:4 > #6 0x120526d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:414:48 > #7 0x59b576 in MSNet::informVehicleStateListener(SUMOVehicle const*, MSNet::VehicleState, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:1161:19 > #8 0xbfbb43 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #11 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f5fb2b82f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::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 FXWorkerThread < [ RUN ] FXWorkerThread.test_init < [ OK ] FXWorkerThread.test_init ((TIME)) < [ RUN ] FXWorkerThread.test_get_all < [ OK ] FXWorkerThread.test_get_all ((TIME)) < [----------] 2 tests from FXWorkerThread ((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 > > ================================================================= > ==836743==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 112 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x11fa3ff in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc6d084a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x12552f0 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 0x125521d 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 0x1254ecc 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 0x1253042 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 0x1251c53 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 0x12322db 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 0x11fdbb8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1203a12 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x1768a69 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #10 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #11 0x7fc6d084a082 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 0x7fa9eb1c34c0> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (72.0, 73.0) <zip object at 0x7fa9eb20a800> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fa9eb250f80> 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 0x7fa9eae8c3c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (72.0, 73.0) <zip object at 0x7fa9eb1d6ec0> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fa9eb1c0b40> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (100.0, 200.0) <zip object at 0x7fa9eb1d12c0> 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 0x7fa9eb21bb40> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (73.0, 74.0) <zip object at 0x7fa9eb21bf40> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fa9eb21b480> 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 0x7fc03158f400> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (148.9, 149.0) <zip object at 0x7fc03130bfc0> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (149.0, 150.0) <zip object at 0x7fc031779180> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (149.0, 150.0) <zip object at 0x7fc031a9b140> > failed 10 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (140.0, 150.0) <zip object at 0x7fc031a54cc0> > failed 10 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (140.0, 150.0) <zip object at 0x7fc031a54600> > failed 100 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (100.0, 200.0) <zip object at 0x7fc031a54e80> > failed 100 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (100.0, 200.0) <zip object at 0x7fc031a540c0> 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 0x7fcf9854e1c0> > failed 0.1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.9, 71.0) <zip object at 0x7fcf9851b240> > failed 1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7fcf9853ad40> > failed 1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7fcf9853a440> > failed 10 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 80.0) <zip object at 0x7fcf9853a500> > failed 10 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 80.0) <zip object at 0x7fcf9853a700> > failed 100 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (0.0, 100.0) <zip object at 0x7fcf98537240> > failed 100 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (0.0, 100.0) <zip object at 0x7fcf98537240> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.9, 71.0) <zip object at 0x7fcf98040080> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.9, 71.0) <zip object at 0x7fcf97d98fc0> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7fcf980480c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7fcf9853cb80> <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 0x7f60de9441c0> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (76.0, 77.0) <zip object at 0x7f60de97a740> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7f60de9cff80> 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 0x7f60de60b2c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (76.0, 77.0) <zip object at 0x7f60de95ccc0> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7f60de95c540> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (100.0, 200.0) <zip object at 0x7f60de955900> 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 0x7f60de93f800> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (77.0, 78.0) <zip object at 0x7f60de94d440> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7f60de950180> 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 0x7ff1186f21c0> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (77.0, 78.0) <zip object at 0x7ff11872fd40> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7ff11872fcc0> 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 0x7ff1183bd4c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (77.0, 78.0) <zip object at 0x7ff1186fd540> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7ff1186fd6c0> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (100.0, 200.0) <zip object at 0x7ff1186f22c0> 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 0x7ff11871dcc0> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (78.0, 79.0) <zip object at 0x7ff11871dc40> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7ff11871d600> 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 0x7f0dedccc1c0> > failed 1 ['--step-length', '.1', '--end', '51'] 3/1to2/1_0 (38.0, 39.0) <zip object at 0x7f0dedcc3440> > failed 10 ['--step-length', '.1', '--end', '51'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f0dedcca100> > failed 100 ['--step-length', '.1', '--end', '51'] 3/1to2/1_0 (0.0, 51.0) <zip object at 0x7f0dedcb4900> > failed 0.1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (38.4, 38.5) <zip object at 0x7f0dedc852c0> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (38.0, 39.0) <zip object at 0x7f0dedca2a00> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f0dedca2d00> > failed 100 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7f0dedca2640> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (38.4, 38.5) <zip object at 0x7f0ded9503c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (38.0, 39.0) <zip object at 0x7f0dedc80300> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f0dedc80300> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7f0dedcd0bc0> > failed 0.1 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f0dedcae480> > failed 1 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f0dedc91440> > failed 10 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f0dedc91200> > failed 100 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (0.0, 51.0) <zip object at 0x7f0dedc91140> > failed 0.1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f0dedc911c0> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f0dedd1f440> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f0dedd1f640> > failed 100 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7f0dedd1f840> > failed 0.1 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f0dedcc3f80> > failed 1 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7f0dedc9bc40> > failed 10 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7f0dedcae9c0> > failed 100 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7f0dedc82700>
not even failing as intended (This bug was triggered by text found in file 'errors' matching 'Error') ---------- Differences in errors ---------- 0a1,15 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > Traceback (most recent call last): > File "/home/delphi/clangDebug/sumo/tests/../tests/complex/traci/vehicle/openGap/runner.py", line 156, in <module> > runSingle(targetTimeHeadway, targetSpaceHeadway, duration, changeRate, maxDecel, refVehID) > File "/home/delphi/clangDebug/sumo/tests/../tests/complex/traci/vehicle/openGap/runner.py", line 66, in runSingle > leader = results[tc.VAR_LEADER][0] > TypeError: 'NoneType' object is not subscriptable > Error: tcpip::Socket::recvAndCheck @ recv: peer shutdown > Quitting (on error). > ================================================================= > ==844272==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000158b0 at pc 0x0000012023bb bp 0x7ffc76ffb3b0 sp 0x7ffc76ffb3a8 > WRITE of size 8 at 0x60b0000158b0 thread T0 ---------- Differences in output ---------- 3,102c3,102 < Time 2.0: Gap 'follower'->'leader' = 5.938 (headway=0.367) < 'follower' speed = 16.161582708 < Time 3.0: Gap 'follower'->'leader' = 8.966 (headway=0.528) < 'follower' speed = 16.9836198736 < Time 4.0: Gap 'follower'->'leader' = 11.281 (headway=0.641) < 'follower' speed = 17.5863190784 < Time 5.0: Gap 'follower'->'leader' = 13.069 (headway=0.725) < 'follower' speed = 18.0379935645 < Time 6.0: Gap 'follower'->'leader' = 14.459 (headway=0.787) < 'follower' speed = 18.3815472225 < Time 7.0: Gap 'follower'->'leader' = 15.545 (headway=0.834) < 'follower' speed = 18.6456171431 < Time 8.0: Gap 'follower'->'leader' = 16.397 (headway=0.870) < 'follower' speed = 18.8501483763 < Time 9.0: Gap 'follower'->'leader' = 17.068 (headway=0.898) < 'follower' speed = 19.0094667411 < Time 10.0: Gap 'follower'->'leader' = 17.596 (headway=0.920) < 'follower' speed = 19.1340998278 < Time 11.0: Gap 'follower'->'leader' = 18.013 (headway=0.937) < 'follower' speed = 19.231918606 < Time 12.0: Gap 'follower'->'leader' = 18.342 (headway=0.950) < 'follower' speed = 19.3088858604 < Time 13.0: Gap 'follower'->'leader' = 18.603 (headway=0.960) < 'follower' speed = 19.3695649077 < Time 14.0: Gap 'follower'->'leader' = 18.810 (headway=0.969) < 'follower' speed = 19.4174756866 < Time 15.0: Gap 'follower'->'leader' = 18.973 (headway=0.975) < 'follower' speed = 19.4553500651 < Time 16.0: Gap 'follower'->'leader' = 19.103 (headway=0.980) <truncated after showing first 30 lines>
Test exceeded wallclock time limit of 900.0 seconds
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 errors ---------- 0a1,950 > AddressSanitizer:DEADLYSIGNAL > ================================================================= > ==845862==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000028 (pc 0x00000186206d bp 0x7fff82421430 sp 0x7fff82421000 T0) > ==845862==The signal is caused by a READ memory access. > ==845862==Hint: address points to the zero page. > #0 0x186206d 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 0x17b6125 in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:317:46 > #2 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #3 0x7f372ac145fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x7f372abe37c0 in xercesc_3_2::WFXMLScanner::scanStartTagNS(bool&) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e27c0) > #5 0x7f372abe4311 in xercesc_3_2::WFXMLScanner::scanContent() (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e3311) > #6 0x7f372abe454f in xercesc_3_2::WFXMLScanner::scanDocument(xercesc_3_2::InputSource const&) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e354f) > #7 0x7f372ac14d52 in xercesc_3_2::SAX2XMLReaderImpl::parse(xercesc_3_2::InputSource const&) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x213d52) > #8 0x30b7125 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 0x31d726b 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:164:42 > #10 0x1763565 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 0x17585e4 in NLBuilder::build() /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:124:10 > #12 0x1769499 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:330:17 > #13 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #14 0x7f3729962082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > #15 0x4a84ed in _start (/home/delphi/clangDebug/sumo/bin/sumoD+0x4a84ed) > > 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&) > ==845862==ABORTING > AddressSanitizer:DEADLYSIGNAL > ================================================================= > ==845875==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000028 (pc 0x00000186206d bp 0x7ffdef8ad9b0 sp 0x7ffdef8ad580 T0) > ==845875==The signal is caused by a READ memory access. <truncated after showing first 30 lines> ---------- Differences in output ---------- 3,10d2 < Durations int.net.xml: count 19, min 302.87 (110), max 306.35 (140), mean 304.42, Q1 303.15, median 303.95, Q3 306.35 < Durations with junction control int.net.xml: count 19, min 303.84 (20), max 414.73 (140), mean 373.29, Q1 320.49, median 382.65, Q3 414.73 < Deviation int.net.xml meso vs. micro: 0.288849079199 < Deviation int.net.xml meso jc vs. micro: 0.127948123357 < Durations noint.net.xml: count 19, min 309.98 (100), max 311.30 (120), mean 310.74, Q1 310.34, median 310.74, Q3 311.11 < Durations with junction control noint.net.xml: count 19, min 312.27 (10), max 469.85 (150), mean 387.32, Q1 337.01, median 383.25, Q3 469.85 < Deviation noint.net.xml meso vs. micro: 0.282645357102 < Deviation noint.net.xml meso jc vs. micro: 0.105876735331
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,432 > > ================================================================= > ==846916==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 35264 byte(s) in 232 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0xb56a5b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd0d982 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:164:9 > #3 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #7 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #8 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #9 0x7efe54591f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x2c3b920 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 0x2c3b84d 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 0x2c3b4fc 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 0x2c416e2 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 0x2c410f3 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 0x2c2e246 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 0x2c2a145 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa25a2e in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xab2a26 in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4300:5 > #10 0xf81a7a in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1974:33 > #11 0xe76062 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="563" inserted="511" running="177" waiting="27"/> 9c9 < <vehicleTripStatistics routeLength="2041.90" speed="6.38" duration="341.15" waitingTime="181.49" timeLoss="193.70" departDelay="160.50" departDelayWaiting="-1.00" totalTravelTime="497401.00" totalDepartDelay="234006.00"/> --- > <vehicleTripStatistics routeLength="2041.90" speed="11.00" duration="188.70" waitingTime="33.82" timeLoss="41.30" departDelay="2.71" departDelayWaiting="-1.00" totalTravelTime="63027.00" totalDepartDelay="906.00"/> ---------- Differences in tls_state ---------- 63,98c63,95 < <tlsState time="1072.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1076.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1080.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1132.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1136.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1140.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1192.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1196.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1200.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1252.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1256.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1260.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1312.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1316.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1320.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1372.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1376.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1380.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="1491.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1495.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1499.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1535.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1539.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1543.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1555.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1559.00" id="0" programID="a" phase="2" state="rrrr"/> <truncated after showing first 30 lines>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in errors ---------- 0a1,13206 > > ================================================================= > ==846986==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x88cfa0 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 0x88ce1d 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 0x88cb9c 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 0x88c9d8 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 0x88c8c2 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 0x88c028 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 0x88b2ad 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 0x88b708 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 0x88a8e4 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 0x88a27f 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 0x889a9b 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 0x88995c 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 0x3368485 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 0x2ac3bfe 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 0x284ef84 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 0x186cb60 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 0x17b6a9e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #18 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #19 0x7f8a81e2ef52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x88cfa0 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="652" inserted="395" running="307" waiting="12"/> 9c9 < <vehicleTripStatistics routeLength="2041.90" speed="5.88" duration="372.99" waitingTime="203.23" timeLoss="225.54" departDelay="188.65" departDelayWaiting="-1.00" totalTravelTime="543821.00" totalDepartDelay="275056.00"/> --- > <vehicleTripStatistics routeLength="2041.90" speed="11.91" duration="173.84" waitingTime="23.28" timeLoss="26.48" departDelay="1.56" departDelayWaiting="-1.00" totalTravelTime="15298.00" totalDepartDelay="137.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,10990 > > ================================================================= > ==846911==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x88cfa0 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 0x88ce1d 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 0x88cb9c 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 0x88c9d8 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 0x88c8c2 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 0x88c028 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 0x88b2ad 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 0x88b708 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 0x88a8e4 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 0x88a27f 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 0x889a9b 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 0x88995c 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 0x3368485 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 0x2ac3bfe 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 0x2851144 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 0x186c30d 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 0x17b6a9e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #18 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #19 0x7fdb96831f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x88cfa0 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="957" inserted="957" running="131" waiting="0"/> 9c9 < <vehicleTripStatistics routeLength="2041.90" speed="3.93" duration="596.32" waitingTime="386.67" timeLoss="448.92" departDelay="403.70" departDelayWaiting="-1.00" totalTravelTime="869438.00" totalDepartDelay="588597.00"/> --- > <vehicleTripStatistics routeLength="2041.90" speed="4.96" duration="495.69" waitingTime="299.22" timeLoss="348.29" departDelay="33.81" departDelayWaiting="-1.00" totalTravelTime="409438.00" totalDepartDelay="27931.00"/> ---------- Differences in tls_state ---------- 6,380c6,134 < <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,14308 > > ================================================================= > ==846938==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x88cfa0 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 0x88ce1d 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 0x88cb9c 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 0x88c9d8 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 0x88c8c2 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 0x88c028 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 0x88b2ad 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 0x88a8e4 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 0x88a27f 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 0x889a9b 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 0x88995c 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 0x3368485 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 0x2ac3bfe 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 0x2854414 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 0x186b51d 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 0x17b6a9e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #17 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #18 0x7fdef0b6ef52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x88cfa0 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 0x88ce1d 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="690" inserted="686" running="145" waiting="4"/> 9c9 < <vehicleTripStatistics routeLength="2041.90" speed="6.39" duration="341.17" waitingTime="181.60" timeLoss="193.72" departDelay="161.01" departDelayWaiting="-1.00" totalTravelTime="497424.00" totalDepartDelay="234760.00"/> --- > <vehicleTripStatistics routeLength="2041.90" speed="13.89" duration="147.05" waitingTime="0.00" timeLoss="0.03" departDelay="4.21" departDelayWaiting="-1.00" totalTravelTime="79553.00" totalDepartDelay="2280.00"/> ---------- Differences in tls_state ---------- 6,80c6,59 < <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,10962 > > ================================================================= > ==846979==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 480 byte(s) in 5 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x88cfa0 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 0x88ce1d 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 0x88cb9c 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 0x88c9d8 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 0x88c8c2 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 0x88c028 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 0x88b2ad 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 0x88b708 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 0x88a8e4 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 0x88a27f 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 0x889a9b 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 0x88995c 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 0x3368485 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 0x2ac3bfe 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 0x28563fc 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 0x186acca 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 0x17b6a9e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #18 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #19 0x7f96d2c7af52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x88cfa0 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="598" inserted="442" running="325" waiting="80"/> 9c9 < <vehicleTripStatistics routeLength="2041.90" speed="2.21" duration="1173.59" waitingTime="857.87" timeLoss="1026.39" departDelay="976.80" departDelayWaiting="-1.00" totalTravelTime="1711091.00" totalDepartDelay="1424181.00"/> --- > <vehicleTripStatistics routeLength="2041.90" speed="8.43" duration="263.56" waitingTime="95.26" timeLoss="116.36" departDelay="0.87" departDelayWaiting="-1.00" totalTravelTime="30837.00" totalDepartDelay="102.00"/> ---------- Differences in tls_state ---------- 6,1118c6,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="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,1147 > > ================================================================= > ==846982==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 288 byte(s) in 4 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1c15e80 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 0x1c15cfd 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 0x1c15a7c 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 0x1c4e668 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 0x1c4e011 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 0x1c11309 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 0x2a86edf in MSSOTLE2Sensors::buildCountSensorForLane(MSLane*, NLDetectorBuilder&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLE2Sensors.cpp:163:23 > #8 0x2a8525d 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 0x2861a60 in MSSOTLTrafficLightLogic::init(NLDetectorBuilder&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLTrafficLightLogic.cpp:164:33 > #10 0x187100d 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 0x17b6a9e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #12 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f413d0c0f52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x2aa0c50 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 0x2aa0b7d 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 0x2aa08fc 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 0x2a9f528 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 0x2a9ee71 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 0x2a99729 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 0x2a89135 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="1227" inserted="1141" running="266" waiting="86"/> 9c9 < <vehicleTripStatistics routeLength="2041.90" speed="6.28" duration="345.05" waitingTime="184.56" timeLoss="197.59" departDelay="167.76" departDelayWaiting="-1.00" totalTravelTime="503081.00" totalDepartDelay="244599.00"/> --- > <vehicleTripStatistics routeLength="2041.90" speed="7.53" duration="293.14" waitingTime="134.96" timeLoss="145.68" departDelay="21.77" departDelayWaiting="-1.00" totalTravelTime="256501.00" totalDepartDelay="19050.00"/> ---------- Differences in tls_state ---------- 63,92c63,69 < <tlsState time="1094.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1098.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1102.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1154.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1158.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1162.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1214.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1218.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1222.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1274.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1278.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1282.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1334.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1338.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1342.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1394.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1398.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1402.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1454.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1458.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1462.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1509.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1513.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1517.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1564.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1568.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1572.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1615.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1619.00" id="0" programID="a" phase="2" state="rrrr"/> <truncated after showing first 30 lines>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in errors ---------- 0a1,397 > > ================================================================= > ==846914==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 35264 byte(s) in 232 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0xb56a5b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd0d982 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:164:9 > #3 0xa1de00 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbfb690 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfb170 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0x8db2dd in MSRouteHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSRouteHandler.cpp:617:34 > #7 0x2eaf203 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #8 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #9 0x7fe18fcfdf52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x2c3b920 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 0x2c3b84d 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 0x2c3b4fc 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 0x2c416e2 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 0x2c410f3 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 0x2c2e246 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 0x2c2a145 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa25a2e in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xab2a26 in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4300:5 > #10 0xf81a7a in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1974:33 > #11 0xe76062 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="1014" inserted="689" running="381" waiting="115"/> 9c9 < <vehicleTripStatistics routeLength="2041.90" speed="5.88" duration="372.99" waitingTime="203.23" timeLoss="225.54" departDelay="188.65" departDelayWaiting="-1.00" totalTravelTime="543821.00" totalDepartDelay="275056.00"/> --- > <vehicleTripStatistics routeLength="2041.90" speed="9.59" duration="220.71" waitingTime="65.03" timeLoss="73.28" departDelay="1.53" departDelayWaiting="-1.00" totalTravelTime="67978.00" totalDepartDelay="472.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,88239 > > ================================================================= > ==847002==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 2048 byte(s) in 88 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x7f95eec4d9ec 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x63c5a6 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_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 0x63bed9 in void std::vector<std::__cxx11::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 0x5b8e41 in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::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 0x2aa8580 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 0x288c8b8 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 0x1869fa2 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 0x17b6a9e in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #11 0x308c758 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #12 0x7f95ef0bdf52 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 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x63e160 in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x63e08d in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::allocate(std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x63da6f in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x63c5a6 in void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_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="563" inserted="389" running="127" waiting="6"/> 9c9 < <vehicleTripStatistics routeLength="2041.90" speed="6.39" duration="341.17" waitingTime="181.60" timeLoss="193.72" departDelay="161.01" departDelayWaiting="-1.00" totalTravelTime="497424.00" totalDepartDelay="234760.00"/> --- > <vehicleTripStatistics routeLength="2041.90" speed="13.88" duration="147.10" waitingTime="0.00" timeLoss="0.07" departDelay="2.82" departDelayWaiting="-1.00" totalTravelTime="38540.00" totalDepartDelay="739.00"/> ---------- Differences in tls_state ---------- 6,80c6,59 < <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>