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)! --- > > ================================================================= > ==3535331==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 376 byte(s) in 1 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0xab423e in NIImporter_SUMO::addEdge(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:570:21 > #2 0xab187f in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:452:13 > #3 0x1a4efe3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #4 0x7fcd7d66e5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 736 byte(s) in 2 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0xabad76 in NIImporter_SUMO::addLane(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:628:21 > #2 0xab1966 in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:455:13 > #3 0x1a4efe3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #4 0x7fcd7d66e5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 96 byte(s) in 2 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0x5b7040 in __gnu_cxx::new_allocator<Position>::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x5b6f6d in std::allocator_traits<std::allocator<Position> >::allocate(std::allocator<Position>&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x5b6c3f in std::_Vector_base<Position, std::allocator<Position> >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x5b5578 in Position* std::vector<Position, std::allocator<Position> >::_M_allocate_and_copy<__gnu_cxx::__normal_iterator<Position const*, std::vector<Position, std::allocator<Position> > > >(unsigned long, __gnu_cxx::__normal_iterator<Position const*, std::vector<Position, std::allocator<Position> > >, __gnu_cxx::__normal_iterator<Position const*, std::vector<Position, std::allocator<Position> > >) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1508: 29 > #5 0x5b35eb in std::vector<Position, std::allocator<Position> >::operator=(std::vector<Position, std::allocator<Position> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:226:24 > #6 0x5a4968 in PositionVector::operator=(PositionVector const&) /home/delphi/clangDebug/sumo/src/utils/geom/PositionVector.h:43:7 > #7 0xabb868 in NIImporter_SUMO::addLane(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:631:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 97c97,139 < Wrong error code returned (0)! --- > > ================================================================= > ==3535185==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 376 byte(s) in 1 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0xab423e in NIImporter_SUMO::addEdge(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:570:21 > #2 0xab187f in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:452:13 > #3 0x1a4efe3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #4 0x7f52dd92a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 736 byte(s) in 2 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0xabad76 in NIImporter_SUMO::addLane(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:628:21 > #2 0xab1966 in NIImporter_SUMO::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:455:13 > #3 0x1a4efe3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #4 0x7f52dd92a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_3_2::RefVectorOf<xercesc_3_2::XMLAttr> const&, unsigned long, bool, bool) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x2135ae) > > Indirect leak of 96 byte(s) in 2 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0x5b7040 in __gnu_cxx::new_allocator<Position>::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x5b6f6d in std::allocator_traits<std::allocator<Position> >::allocate(std::allocator<Position>&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x5b6c3f in std::_Vector_base<Position, std::allocator<Position> >::_M_allocate(unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:343:20 > #4 0x5b5578 in Position* std::vector<Position, std::allocator<Position> >::_M_allocate_and_copy<__gnu_cxx::__normal_iterator<Position const*, std::vector<Position, std::allocator<Position> > > >(unsigned long, __gnu_cxx::__normal_iterator<Position const*, std::vector<Position, std::allocator<Position> > >, __gnu_cxx::__normal_iterator<Position const*, std::vector<Position, std::allocator<Position> > >) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1508: 29 > #5 0x5b35eb in std::vector<Position, std::allocator<Position> >::operator=(std::vector<Position, std::allocator<Position> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:226:24 > #6 0x5a4968 in PositionVector::operator=(PositionVector const&) /home/delphi/clangDebug/sumo/src/utils/geom/PositionVector.h:43:7 > #7 0xabb868 in NIImporter_SUMO::addLane(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_SUMO.cpp:631:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 126a127,140 > > ================================================================= > ==3526607==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 0x1855c12 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 0x184cfdf 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 0x178e583 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:454:30 > #4 0x1783897 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:100:17 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7ff295ef35ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3526616==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 0x1855c12 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 0x184cfdf 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 0x178e583 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:454:30 > #4 0x1783897 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:100:17 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7f06a54595ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3535389==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 0x1855c12 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 0x184cfdf 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 0x178e583 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:454:30 > #4 0x1783897 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:100:17 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7f4314e2a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3535431==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 0x1855c12 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 0x184cfdf 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 0x178e583 in NLHandler::beginEdgeParsing(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:454:30 > #4 0x1783897 in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:100:17 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7f3bd0ca55ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3549206==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 0x7fed32102082 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 0x7fed3257ad03 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 > > ================================================================= > ==3549181==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 0x7f932b5c5082 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 0x7f932ba3dd03 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 > > ================================================================= > ==3549188==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 0x7f20c87ff082 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 0x7f20c8c77d03 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 > > ================================================================= > ==3549196==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 0x7fef940eb082 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 0x7fef94563d03 in std::basic_filebuf<char, std::char_traits<char> >::_M_allocate_internal_buffer() (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x10bd03) > > Indirect leak of 1248 byte(s) in 13 object(s) allocated from: > #0 0x4f2a0d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/emissionsDrivingCycleD+0x4f2a0d) > #1 0x9b1830 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x9b175d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x9b140c in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::l ess<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x9af5e2 in std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std ::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_create_nod e<std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x9ae163 in std::_Rb_tree_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_emplace _hint_unique<std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::piecewise_construct_t const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x990756 in std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::operator[](std:: __cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:499:15 > #7 0xbf56b0 in Parameterised::setParameter(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/utils/common/Parameterised.cpp:46:5 > #8 0x5760ca in SUMORouteHandler::addParam(SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:378:29 > #9 0x574688 in SUMORouteHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:212:13 > #10 0x9eaf63 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #11 0x7fef94b585ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3549030==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 0x7f4bc1eab082 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 0x7f4bc2323d03 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 > > ================================================================= > ==3549065==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 0x7f0aa4f80082 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 0x7f0aa53f8d03 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 > > ================================================================= > ==3549068==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 0x7f0dfed54082 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 0x7f0dff1ccd03 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 > > ================================================================= > ==3549116==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 0x7f5244100082 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 0x7f5244578d03 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 > > ================================================================= > ==3549066==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 0x7ff217083082 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 0x7ff2174fbd03 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 > > ================================================================= > ==3549161==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 0x7fb253cc0082 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 0x7fb254138d03 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 > > ================================================================= > ==3549118==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 0x7f910c566082 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 0x7f910c9ded03 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 > > ================================================================= > ==3549120==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 0x7fee1885f082 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 0x7fee18cd7d03 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 > > ================================================================= > ==3549126==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 0x7ffad327e082 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 0x7ffad36f6d03 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 > > ================================================================= > ==3549178==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 0x7fba54431082 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 0x7fba548a9d03 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/tmpw7zf0m0o/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/tmpd96s37m6/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/tmpcyxnwvsv/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/tmp7n9kjk69/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 > > ================================================================= > ==3547196==ERROR: LeakSanitizer: detected memory leaks > > Direct leak of 240 byte(s) in 1 object(s) allocated from: > #0 0x51952d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/netconvertD+0x51952d) > #1 0x8573ef in NIImporter_OpenDrive::myCharacters(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/delphi/clangDebug/sumo/src/netimport/NIImporter_OpenDrive.cpp:2463:30 > #2 0x1a5090a in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:156:13 > #3 0x7fe47fb5ff52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x7fe47f8756a8 (/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 0x7fe47f874dbd 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 0x7fe47f6ef867 (/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 0x7fe47f6f603b (/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 > > ================================================================= > ==3547008==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f028b896082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f028b896082 in __libc_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 > > ================================================================= > ==3546987==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ffa7a97c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3547038==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f95f117b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f95f117b082 in __libc_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 > > ================================================================= > ==3547000==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f545280c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3548131==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fa673e4c5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3548143==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 0x2eaf1cb 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 0xcc6400 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7f94fe0975ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3548178==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7ff387d275ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3548193==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 0x2eaf1cb 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 0xcc6400 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7fec5df815ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3548185==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f7c9740b5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3548200==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 0x2eaf1cb 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 0xcc6400 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7f4ee95845ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3548133==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fa13ba155ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3548146==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 0x2eaf1cb 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 0xcc6400 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7f0051b605ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3548182==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fddfdc015ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3548198==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 0x2eaf1cb 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 0xcc6400 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7f0cb62e55ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3548230==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f59a793e5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3548241==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 0x2eaf1cb 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 0xcc6400 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7fd3fc5985ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3548025==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f114d02a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3548045==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 0x2eaf1cb 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 0xcc6400 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7fe08753f5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3548073==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f754216b5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3548089==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 0x2eaf1cb 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 0xcc6400 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7ffa4a3485ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3548042==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f125eb215ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3548055==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 0x2eaf1cb 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 0xcc6400 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7f332307c5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3548128==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f369ed0d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3548144==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 0x2eaf1cb 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 0xcc6400 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7f25a15ab5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3548086==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f6fcaeb75ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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). > > ================================================================= > ==3548095==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 0x2eaf1cb 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 0xcc6400 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7fef843565ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3537929==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc8a2946082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fc8a2946082 in __libc_start_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 > > ================================================================= > ==3537892==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5ee7546082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3537050==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1a473a3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f1a473a3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3537477==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f41ca187f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3537752==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fa7f8e01f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3537769==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f7f122eef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3537011==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f70fa954082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,312 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3536654==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7e6a6a8082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,312 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3536981==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa5f8c9d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3537205==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4ce62fb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f4ce62fb082 in __libc_start_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 > > ================================================================= > ==3537100==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f774e91d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f774e91d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,6 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in 1a8,321 > > ================================================================= > ==3537336==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb2d1a99082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,6 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in 28a35,348 > > ================================================================= > ==3536450==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5c7e97e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 1a2,321 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3537685==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f463af38082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3536451==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd09e4a6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3536172==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f128509c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f128509c082 in __libc_start_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 > > ================================================================= > ==3536760==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc4dc2e5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fc4dc2e5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,312 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3536826==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbce46c9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3537340==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f92b980f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > ================================================================= > ==3535997==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000483f0 at pc 0x0000012050db bp 0x7ffeeabc3970 sp 0x7ffeeabc3968 > WRITE of size 8 at 0x60b0000483f0 thread T0 5a9,12 > #0 0x12050da in TraCIServer::cleanup() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:758:45 > #1 0x12041ef in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:365:5 > #2 0x12074e3 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 > ================================================================= > ==3536058==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000483f0 at pc 0x0000012050db bp 0x7ffe431e47d0 sp 0x7ffe431e47c8 > WRITE of size 8 at 0x60b0000483f0 thread T0 5a9,12 > #0 0x12050da in TraCIServer::cleanup() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:758:45 > #1 0x12041ef in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:365:5 > #2 0x12074e3 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 > ================================================================= > ==3536220==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000483f0 at pc 0x0000012050db bp 0x7ffd777cf110 sp 0x7ffd777cf108 > WRITE of size 8 at 0x60b0000483f0 thread T0
---------- Differences in errors ---------- 2a3,5 > ================================================================= > ==3536211==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b0000483f0 at pc 0x0000012050db bp 0x7ffe586659b0 sp 0x7ffe586659a8 > WRITE of size 8 at 0x60b0000483f0 thread T0 5a9,12 > #0 0x12050da in TraCIServer::cleanup() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:758:45 > #1 0x12041ef in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:365:5 > #2 0x12074e3 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 ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3535372==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f6d632ddf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3535394==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7ff486972f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3534595==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2b34534082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3534863==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4179c0d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,121 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ToC.cpp:1072:21: runtime error: member call on address 0x618000032880 which does not point to an object of type 'MSVehicle' > 0x618000032880: note: object is of type 'MSBaseVehicle' > 27 00 00 61 10 d1 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:6678:9: runtime error: member access within address 0x618000032880 which does not point to an object of type 'MSVehicle' > 0x618000032880: note: object is of type 'MSBaseVehicle' > 27 00 00 61 10 d1 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:6678:9 in > /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6681:13: runtime error: member access within address 0x618000032880 which does not point to an object of type 'MSVehicle' > 0x618000032880: note: object is of type 'MSBaseVehicle' > 27 00 00 61 10 d1 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:6681:13 in > /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ToC.cpp:1072:37: runtime error: member call on address 0x61100006d500 which does not point to an object of type 'MSVehicle::Influencer' > 0x61100006d500: note: object has invalid vptr > 2d 00 80 41 33 00 80 23 00 00 00 00 00 00 00 00 be be be be b0 d4 18 00 30 60 00 00 d0 d4 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-16 05:06:44 by Eclipse SUMO sumo Version v1_14_0+0135-15f33eb9e15 > <configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd"> 4,17c6,28 < <ToCDeviceLog> < <MRM id="ToC_veh" t="102.00" lane="3/1to4/1_0" lanePos="928.87" x="1151.17" y="3027.41"/> < <ToCup id="ToC_veh" t="202.00" lane="4/1to5/1_0" lanePos="114.71" x="1002.27" y="2959.05"/> < <TOR id="ToC_veh" t="207.00" lane="4/1to5/1_0" lanePos="153.71" x="970.72" y="2936.12"/> < <MRM id="ToC_veh" t="217.00" lane="4/1to5/1_0" lanePos="283.71" x="865.55" y="2859.71"/> < <ToCup id="ToC_veh" t="302.00" lane="4/1to5/1_0" lanePos="360.71" x="803.25" y="2814.45"/> < <TOR id="ToC_veh" t="302.00" lane="4/1to5/1_0" lanePos="360.71" x="803.25" y="2814.45"/> < <ToCdown id="ToC_veh" t="325.00" lane="4/1to5/1_0" lanePos="360.71" x="803.25" y="2814.45"/> < <MRM id="ToC_veh" t="332.00" lane="4/1to5/1_0" lanePos="407.66" x="765.27" y="2786.86"/> < <ToCup id="ToC_veh" t="402.00" lane="4/1to5/1_0" lanePos="470.06" x="714.79" y="2750.18"/> < <TOR id="ToC_veh" t="402.00" lane="4/1to5/1_0" lanePos="470.06" x="714.79" y="2750.18"/> < <ToCdown id="ToC_veh" t="425.00" lane="4/1to5/1_0" lanePos="470.06" x="714.79" y="2750.18"/> < <MRM id="ToC_veh" t="452.00" lane="4/1to5/1_0" lanePos="891.63" x="373.74" y="2502.39"/> < </ToCDeviceLog> --- > <input> > <net-file value="input_net.net.xml"/> > <route-files value="input_routes.rou.xml"/> > <additional-files value="input_additional.add.xml"/> > </input> > > <output> > <fcd-output value="fcd.xml"/> > </output> > > <processing> <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3534952==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f97d0342082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3535796==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe191df5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3535405==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8c6b121082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3535592==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2b1b361082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,121 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ToC.cpp:1072:21: runtime error: member call on address 0x618000032880 which does not point to an object of type 'MSVehicle' > 0x618000032880: note: object is of type 'MSBaseVehicle' > 37 00 80 2c 10 d1 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:6678:9: runtime error: member access within address 0x618000032880 which does not point to an object of type 'MSVehicle' > 0x618000032880: note: object is of type 'MSBaseVehicle' > 37 00 80 2c 10 d1 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:6678:9 in > /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:6681:13: runtime error: member access within address 0x618000032880 which does not point to an object of type 'MSVehicle' > 0x618000032880: note: object is of type 'MSBaseVehicle' > 37 00 80 2c 10 d1 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:6681:13 in > /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ToC.cpp:1072:37: runtime error: member call on address 0x61100006d500 which does not point to an object of type 'MSVehicle::Influencer' > 0x61100006d500: note: object has invalid vptr > 26 00 00 2b 33 00 00 1e 00 00 00 00 00 00 00 00 be be be be e0 d4 18 00 30 60 00 00 00 d5 18 00 > ^~~~~~~~~~~~~~~~~~~~~~~ > invalid vptr <truncated after showing first 30 lines> ---------- Differences in fcd ---------- 1389,1508c1389 < <vehicle id="ToC_veh" x="285.90" y="2407.16" angle="198.00" type="automated@ToC_veh" speed="8.02" pos="41.65" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="462.00"> < <vehicle id="ToC_veh" x="283.79" y="2400.67" angle="198.00" type="automated@ToC_veh" speed="6.82" pos="48.47" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="463.00"> < <vehicle id="ToC_veh" x="282.06" y="2395.33" angle="198.00" type="automated@ToC_veh" speed="5.62" pos="54.09" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="464.00"> < <vehicle id="ToC_veh" x="280.69" y="2391.13" angle="198.00" type="automated@ToC_veh" speed="4.42" pos="58.51" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="465.00"> < <vehicle id="ToC_veh" x="279.70" y="2388.06" angle="198.00" type="automated@ToC_veh" speed="3.22" pos="61.73" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="466.00"> < <vehicle id="ToC_veh" x="279.07" y="2386.14" angle="198.00" type="automated@ToC_veh" speed="2.02" pos="63.74" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="467.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.82" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="468.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.00" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="469.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.00" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> < <timestep time="470.00"> < <vehicle id="ToC_veh" x="278.82" y="2385.37" angle="198.00" type="automated@ToC_veh" speed="0.00" pos="64.56" lane="5/1to6/1_0" slope="0.00"/> < </timestep> <truncated after showing first 30 lines> ---------- Differences in tocs ---------- 2a3,4 > <!-- generated on 2022-07-16 05:07:17 by Eclipse SUMO sumo Version v1_14_0+0135-15f33eb9e15 > <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 > > ================================================================= > ==3535760==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9bdb754082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f9bdb754082 in __libc_start_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 > > ================================================================= > ==3535832==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5c6d38d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f5c6d38d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,297 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3535995==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb8b58f3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,6 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in 5a12,325 > > ================================================================= > ==3536410==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2573a43082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,6 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in 4a11,324 > > ================================================================= > ==3536349==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc7ef665082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,320 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16: runtime error: -nan is outside the range of representable values of type 'long long' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/microsim/cfmodels/MSCFModel.cpp:418:16 in > > ================================================================= > ==3537311==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f89d052f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3534227==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 0xb5802b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x245f8b5 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 0x7fb6835dc082 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 0x2c44030 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 0x2c43f5d 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 0x2c43c0c 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 0x2c49df2 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 0x2c49803 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 0x2c36956 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 0x2c32855 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa25b8e in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xab3e6a in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4316:5 > #10 0xf833fa in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1968:33 > #11 0xe77b82 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 > > ================================================================= > ==3534090==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8927bba082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f8927bba082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,950 > AddressSanitizer:DEADLYSIGNAL > ================================================================= > ==3545345==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000028 (pc 0x0000018671cd bp 0x7ffe523ec6b0 sp 0x7ffe523ec280 T0) > ==3545345==The signal is caused by a READ memory access. > ==3545345==Hint: address points to the zero page. > #0 0x18671cd 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 0x17bb285 in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:317:46 > #2 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #3 0x7ff828dc45fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 0x7ff828d937c0 in xercesc_3_2::WFXMLScanner::scanStartTagNS(bool&) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e27c0) > #5 0x7ff828d94311 in xercesc_3_2::WFXMLScanner::scanContent() (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e3311) > #6 0x7ff828d9454f in xercesc_3_2::WFXMLScanner::scanDocument(xercesc_3_2::InputSource const&) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x1e354f) > #7 0x7ff828dc4d52 in xercesc_3_2::SAX2XMLReaderImpl::parse(xercesc_3_2::InputSource const&) (/usr/lib/x86_64-linux-gnu/libxerces-c-3.2.so+0x213d52) > #8 0x30bff45 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 0x31e008b in XMLSubSys::runParser(GenericSAXHandler&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool) /home/delphi/clangDebug/sumo/src/utils/xml/XMLSubSys.cpp:166:42 > #10 0x1768745 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 0x175d7c4 in NLBuilder::build() /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:124:10 > #12 0x176e679 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 0x7ff827b12082 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&) > ==3545345==ABORTING > AddressSanitizer:DEADLYSIGNAL > ================================================================= > ==3545386==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000028 (pc 0x0000018671cd bp 0x7ffd1300d890 sp 0x7ffd1300d460 T0) > ==3545386==The signal is caused by a READ memory access. <truncated after showing first 30 lines> ---------- Differences in output ---------- 3,6c3,6 < Durations int.net.xml: count 19, min 302.87 (110), max 306.35 (140), mean 304.42, Q1 303.15, median 303.95, Q3 306.35 < Durations with junction control int.net.xml: count 19, min 303.84 (20), max 414.73 (140), mean 373.29, Q1 320.49, median 382.65, Q3 414.73 < Deviation int.net.xml meso vs. micro: 0.288849079199 < Deviation int.net.xml meso jc vs. micro: 0.127948123357 --- > Durations int.net.xml: count 19, min 428.06 (10), max 428.06 (10), mean 428.06, Q1 428.06, median 428.06, Q3 428.06 > Durations with junction control int.net.xml: count 19, min 428.06 (10), max 428.06 (10), mean 428.06, Q1 428.06, median 428.06, Q3 428.06 > Deviation int.net.xml meso vs. micro: -5.311724418147738e-16 > Deviation int.net.xml meso jc vs. micro: -5.311724418147738e-16
---------- Differences in errors ---------- 0a1,294 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 164 (8-bit, unsigned) to type 'char' changed the value to -92 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -92 (8-bit, signed) to type 'unsigned char' changed the value to 164 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3534074==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0007f54082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f0007f54082 in __libc_start_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 > > ================================================================= > ==3534296==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 0xb5802b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x23dcedc 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 0x23a1ba0 in MSMeanData::MeanDataValues::notifyMove(SUMOTrafficObject&, double, double, double) /home/delphi/clangDebug/sumo/src/microsim/output/MSMeanData.cpp:254:5 > #4 0xa24387 in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1106:26 > #5 0xab3e6a in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4316:5 > #6 0xf833fa in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1968:33 > #7 0xe77b82 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 0x7f3dfd5ce082 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 0x2c44030 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 0x2c43f5d 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 0x2c43c0c 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 0x2c49df2 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 0x2c49803 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 0x2c36956 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 0x2c32855 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa25b8e in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xab3e6a in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4316:5 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 1,36c1,8 < Warning: Teleporting vehicle '1439'; waited too long (yield), lane='C3D3_0', time=1032.00. < Warning: Vehicle '1439' ends teleporting on edge '-D2D3', time=1034.00. < Warning: Teleporting vehicle '973'; waited too long (yield), lane='C2B2_1', time=1089.00. < Warning: Teleporting vehicle '1465'; waited too long (wrong lane), lane='D4D3_1', time=1097.00. < Warning: Teleporting vehicle '1543'; waited too long (yield), lane='D4D3_0', time=1098.00. < Warning: Vehicle '973' ends teleporting on edge 'B2C2', time=1103.00. < Warning: Vehicle '1465' ends teleporting on edge '-C3D3', time=1121.00. < Warning: Vehicle '1543' ends teleporting on edge '-C3D3', time=1122.00. < Warning: Teleporting vehicle '1578'; waited too long (wrong lane), lane='A1A2_1', time=1124.00. < Warning: Vehicle '1578' ends teleporting on edge 'A2B2', time=1124.00. < Warning: Teleporting vehicle '1363'; waited too long (yield), lane='E3D3_0', time=1128.00. < Warning: Teleporting vehicle '1386'; waited too long (wrong lane), lane='E3D3_1', time=1132.00. < Warning: Teleporting vehicle '1447'; waited too long (wrong lane), lane='E3D3_1', time=1136.00. < Warning: Vehicle '1363' ends teleporting on edge '-D4D3', time=1136.00. < Warning: Vehicle '1386' ends teleporting on edge '-D4D3', time=1140.00. < Warning: Vehicle '1447' teleports beyond arrival edge 'E4', time=1143.00. < Warning: Teleporting vehicle '1366'; waited too long (jam), lane=':J6_3_0', time=1180.00. < Warning: Vehicle '1366' ends teleporting on edge '-E3D3', time=1182.00. < Warning: Teleporting vehicle '1439'; waited too long (yield), lane='C3D3_0', time=1032.00. < Warning: Vehicle '1439' ends teleporting on edge '-D2D3', time=1034.00. < Warning: Teleporting vehicle '973'; waited too long (yield), lane='C2B2_1', time=1089.00. < Warning: Teleporting vehicle '1465'; waited too long (wrong lane), lane='D4D3_1', time=1097.00. < Warning: Teleporting vehicle '1543'; waited too long (yield), lane='D4D3_0', time=1098.00. < Warning: Vehicle '973' ends teleporting on edge 'B2C2', time=1103.00. < Warning: Vehicle '1465' ends teleporting on edge '-C3D3', time=1121.00. < Warning: Vehicle '1543' ends teleporting on edge '-C3D3', time=1122.00. < Warning: Teleporting vehicle '1578'; waited too long (wrong lane), lane='A1A2_1', time=1124.00. < Warning: Vehicle '1578' ends teleporting on edge 'A2B2', time=1124.00. < Warning: Teleporting vehicle '1363'; waited too long (yield), lane='E3D3_0', time=1128.00. <truncated after showing first 30 lines> ---------- Differences in output ---------- 10c10 < Teleports: 9 (Jam: 1, Yield: 4, Wrong Lane: 4) --- > Teleports: 2 (Yield: 1, Wrong Lane: 1) 12,17c12,17 < RouteLength: 486.69 < Speed: 3.86 < Duration: 193.03 < WaitingTime: 116.86 < TimeLoss: 154.87 < DepartDelay: 13.96 --- > RouteLength: 485.39 > Speed: 3.83 > Duration: 187.59 > WaitingTime: 110.69 > TimeLoss: 149.58 > DepartDelay: 7.83 19c19 < DijkstraRouter answered 7551 queries and explored 40.19 edges on average. --- > DijkstraRouter answered 7343 queries and explored 38.65 edges on average. 30c30 < Teleports: 9 (Jam: 1, Yield: 4, Wrong Lane: 4) --- > Teleports: 2 (Yield: 1, Wrong Lane: 1) 32,36c32,36 < RouteLength: 486.69 < Speed: 3.86 < Duration: 193.03 <truncated after showing first 30 lines> ---------- Differences in statistics ---------- 6c6 < <teleports total="9" jam="1" yield="4" wrongLane="4"/> --- > <teleports total="2" jam="0" yield="1" wrongLane="1"/> 9c9 < <vehicleTripStatistics routeLength="486.69" speed="3.86" duration="193.03" waitingTime="116.86" timeLoss="154.87" departDelay="13.96" departDelayWaiting="-1.00" totalTravelTime="386069.00" totalDepartDelay="27920.00"/> --- > <vehicleTripStatistics routeLength="485.39" speed="3.83" duration="187.59" waitingTime="110.69" timeLoss="149.58" departDelay="7.83" departDelayWaiting="-1.00" totalTravelTime="375184.00" totalDepartDelay="15661.00"/> ---------- Differences in statistics2 ---------- 6c6 < <teleports total="9" jam="1" yield="4" wrongLane="4"/> --- > <teleports total="2" jam="0" yield="1" wrongLane="1"/> 9c9 < <vehicleTripStatistics routeLength="486.69" speed="3.86" duration="193.03" waitingTime="116.86" timeLoss="154.87" departDelay="0.00" departDelayWaiting="-1.00" totalTravelTime="386069.00" totalDepartDelay="0.00"/> --- > <vehicleTripStatistics routeLength="485.39" speed="3.83" duration="187.59" waitingTime="110.69" timeLoss="149.58" departDelay="0.00" departDelayWaiting="-1.00" totalTravelTime="375184.00" totalDepartDelay="0.00"/>
---------- Differences in 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 > > ================================================================= > ==3543154==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f5a8314af52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543157==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f3264d665ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1208a3d 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 0x254d0c4 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 > > ================================================================= > ==3543131==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fbf56b7ff52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543152==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f5548070f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543110==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f2d23823f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543134==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fac60183f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543133==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f48d03a6f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543546==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3543650==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3543623==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3543567==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3543651==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3543620==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3543586==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3543652==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3543645==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3543532==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3543638==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3543588==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3543068==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f3a4d6b3f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543038==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3543081==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fb19edeb5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1208a3d 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 0x254d0c4 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 > > ================================================================= > ==3543086==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f6f026085ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1208a3d 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 0x254d0c4 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 > > ================================================================= > ==3543066==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fa46cb18f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543018==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fba5d805f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543440==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f66a0903f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543413==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fc965caff52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543404==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fbf25e9df52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543409==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f7f94fc3f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543488==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3543384==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f337053c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f337053c082 in __libc_start_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 > > ================================================================= > ==3543187==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f177aecff52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543193==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fcb54c26f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543250==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f7917abaf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543247==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fb6de360f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543225==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f8652a85f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543246==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fd32254ef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543209==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f5b468a1f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543228==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fa5b0d80f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543335==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fada493af52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543380==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f3bf152af52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543379==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f59368f2f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543350==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fe5a9da1f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543376==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f443ed28f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543352==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f0459557f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543382==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f1141b56f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543490==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f5d66192f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543494==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fc4a8c7ef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543516==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7efd4bef2f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543524==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f7a196e8f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543527==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f5ae416d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1208a3d 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 0x254d0c4 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 > > ================================================================= > ==3543489==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f5fb3c54f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543487==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f4174bb5f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543486==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fe58cbd5f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543249==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4554161082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f4554161082 in __libc_start_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 > > ================================================================= > ==3543299==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff6d3d4a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7ff6d3d4a082 in __libc_start_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 > > ================================================================= > ==3543334==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdd48baf082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fdd48baf082 in __libc_start_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 > > ================================================================= > ==3543276==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd7259d9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fd7259d9082 in __libc_start_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 > > ================================================================= > ==3543277==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5f03d26082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f5f03d26082 in __libc_start_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 > > ================================================================= > ==3541054==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc58e0a1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fc58e0a1082 in __libc_start_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 > > ================================================================= > ==3542297==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f7c44524f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 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 > > ================================================================= > ==3542311==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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,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 > > ================================================================= > ==3542317==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc2779cb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fc2779cb082 in __libc_start_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 > > ================================================================= > ==3541146==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe283b15082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fe283b15082 in __libc_start_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 > > ================================================================= > ==3541265==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f782c6d0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3541339==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f59f5f16082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 > > ================================================================= > ==3541347==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3d0baaf082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f3d0baaf082 in __libc_start_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 > > ================================================================= > ==3541447==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f77763d9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f77763d9082 in __libc_start_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 > > ================================================================= > ==3541516==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3541517==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9a2822b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f9a2822b082 in __libc_start_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 > > ================================================================= > ==3541522==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f11a19f0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f11a19f0082 in __libc_start_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 > > ================================================================= > ==3541704==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0xcd6261 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd2de9 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7f0f3fb6df52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x11fd11f 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 > > ================================================================= > ==3541719==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0xcd6261 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd2de9 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7f336f554f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x11fd11f 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 > > ================================================================= > ==3541703==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0xcd6261 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd2de9 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7f3f51b84f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x11fd11f 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 > > ================================================================= > ==3541685==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7e89525082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f7e89525082 in __libc_start_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 > > ================================================================= > ==3541679==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5d28416082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f5d28416082 in __libc_start_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 > > ================================================================= > ==3541683==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f16b0799082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3541705==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2b8dcab082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f2b8dcab082 in __libc_start_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 > > ================================================================= > ==3541727==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4c1157c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f4c1157c082 in __libc_start_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 > > ================================================================= > ==3541843==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa9233ad082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fa9233ad082 in __libc_start_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 > > ================================================================= > ==3541842==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa5b7c23082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fa5b7c23082 in __libc_start_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 > > ================================================================= > ==3541872==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbe5fe24082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fbe5fe24082 in __libc_start_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 > > ================================================================= > ==3541875==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 0x3079cdd 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 0x7fed39323082 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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 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 > > ================================================================= > ==3541887==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfeec9 in MSVehicleControl::removePending() /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:157:31 > #9 0xe78663 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 0x7fae49582082 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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 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 > > ================================================================= > ==3541894==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa02133b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fa02133b082 in __libc_start_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 > > ================================================================= > ==3541913==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f29b1e06082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f29b1e06082 in __libc_start_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 > > ================================================================= > ==3541980==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f59704a3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f59704a3082 in __libc_start_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 > > ================================================================= > ==3541984==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f72dd78e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f72dd78e082 in __libc_start_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 > > ================================================================= > ==3541987==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5a7e3c1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f5a7e3c1082 in __libc_start_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 > > ================================================================= > ==3542013==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6ab99df082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f6ab99df082 in __libc_start_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 > > ================================================================= > ==3542018==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 0x2eaf1cb 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 0x178b88c in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7fbf1827f5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbf16fcd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3542033==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 0x2eaf1cb 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 0x178b88c in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7f1353ebc5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1352c0a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==3542054==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f931dfd25ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f931cd20082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542122==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0a8cd04082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12008d8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f0a8cd04082 in __libc_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 > > ================================================================= > ==3542140==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f97dcdfa082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f97dcdfa082 in __libc_start_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 > > ================================================================= > ==3542147==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7ccf866082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3542197==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe1c2d27082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fe1c2d27082 in __libc_start_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 > > ================================================================= > ==3542203==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7a8147e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f7a8147e082 in __libc_start_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 > > ================================================================= > ==3542205==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3e0a694082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3542236==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2afbf4a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f2afbf4a082 in __libc_start_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 > > ================================================================= > ==3542233==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f09585b5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f09585b5082 in __libc_start_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 > > ================================================================= > ==3542263==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fee7bcf9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fee7bcf9082 in __libc_start_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 > > ================================================================= > ==3542276==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fce85a9b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fce85a9b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3546885==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f53c395c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f53c395c082 in __libc_start_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 > > ================================================================= > ==3546891==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7cdf0ec082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f7cdf0ec082 in __libc_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 > > ================================================================= > ==3546882==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 0x20f51e4 in MSCalibrator::setFlow(long long, long long, double, double, SUMOVehicleParameter) /home/delphi/clangDebug/sumo/src/microsim/trigger/MSCalibrator.cpp:699:30 > #2 0x15815d9 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 0x12d4c9d in TraCIServerAPI_Calibrator::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Calibrator.cpp:78:17 > #4 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #5 0x1213931 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 0x7fd57b1ea082 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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, 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 > > ================================================================= > ==3546930==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa7bd043082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fa7bd043082 in __libc_start_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 > > ================================================================= > ==3538250==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 0x7f5e9aa622f4 (/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 0x7f5e972f9082 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 0x7f5e9aa6293c (/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 0x7f5e9aa61b64 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 > > ================================================================= > ==3540668==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa4677fb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fa4677fb082 in __libc_start_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 > > ================================================================= > ==3540760==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 0x7fa39600a2f4 (/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 0x7fa3802c70cd (<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 > > ================================================================= > ==3540765==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9a1004e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f9a1004e082 in __libc_start_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 > > ================================================================= > ==3540818==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 0x7fd3a74f32f4 (/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 0x7fd390b580cd (<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 > > ================================================================= > ==3541049==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbe0d7d0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 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 > > ================================================================= > ==3539587==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5fa467a082 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 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f5fa467a082 in __libc_start_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 > > ================================================================= > ==3539255==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8c3d3fe082 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 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f8c3d3fe082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,2824 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 240 (8-bit, unsigned) to type 'char' changed the value to -16 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -16 (8-bit, signed) to type 'unsigned char' changed the value to 240 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55: runtime error: implicit conversion from type 'int' of value 65036 (32-bit, signed) to type 'stbtt_int16' (aka 'short') changed the value to -500 (16-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/stb_truetype.h:1223:55 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9: runtime error: implicit conversion from type 'int' of value -16777216 (32-bit, signed) to type 'unsigned int' changed the value to 4278190080 (32-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/glfontstash.h:143:9 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4: runtime error: unsigned integer overflow: 4292344367 + 4273983864 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:353:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4: runtime error: unsigned integer overflow: 4251817097 + 2472261631 cannot be represented in type 'unsigned int' > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:355:4 in > /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/fontstash/fontstash.h:455:24 in > > ================================================================= > ==3539536==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 0x7f4254fe72f4 (/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 0x7f423e64c0cd (<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 > > ================================================================= > ==3540536==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6bb4f64082 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 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f6bb4f64082 in __libc_start_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 > > ================================================================= > ==3539556==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f11b87c0082 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 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f11b87c0082 in __libc_start_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 > > ================================================================= > ==3540598==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9584164082 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 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f9584164082 in __libc_start_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 > > ================================================================= > ==3539689==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f54e6a79082 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 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f54e6a79082 in __libc_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 > > ================================================================= > ==3540520==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f328f9a2082 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 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f328f9a2082 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 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3538630==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5eec40b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3538599==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f008dbbb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f008dbbb082 in __libc_start_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 > > ================================================================= > ==3538615==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 0x7fc7f8fb82f4 (/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 0x7fc7e261e0cd (<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 > > ================================================================= > ==3542782==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f24439fe5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f244274c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542795==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f9e4020d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9e3ef5b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542829==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f3816fc55ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3815d13082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542846==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f9aceea15ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9acdbef082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542821==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fe67dba45ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe67c8f2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542828==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fd68cf9b5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd68bce9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > ================================================================= > ==3542765==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b000048ce0 at pc 0x0000012050db bp 0x7ffc7cc7c130 sp 0x7ffc7cc7c128 > WRITE of size 8 at 0x60b000048ce0 thread T0 > #0 0x12050da in TraCIServer::cleanup() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:758:45 > #1 0x12041ef in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:365:5 > #2 0x12074e3 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 0x7f08b6459082 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) > > 0x60b000048ce0 is located 0 bytes inside of 112-byte region [0x60b000048ce0,0x60b000048d50) > freed by thread T0 here: > #0 0x550bfd in operator delete(void*) (/home/delphi/clangDebug/sumo/bin/sumoD+0x550bfd) > #1 0x1204087 in TraCIServer::~TraCIServer() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:363:9 > #2 0x12074e3 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 0x7f08b6459082 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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /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 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 > > ================================================================= > ==3543012==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1be5d77082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403: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 > > ================================================================= > ==3542937==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7ff8cecac5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff8cd9fa082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3543013==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f93d716d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f93d5ebb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542855==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f3f634e75ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3f62235082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542857==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fc60dbcd5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc60c91b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542859==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fb9fc23f5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb9faf8d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542884==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f48aaabc5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f48a980a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542770==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f396d8dd5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f396c62b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542772==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f8ddd7f15ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8ddc53f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3543735==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f8e760605ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0xb5802b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13c20db in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x13ae486 in double MSLane::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSLane.h:1095:23 > #4 0x13a00c1 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 0x13aa6ef 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 0x1286b3f in TraCIServerAPI_Edge::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Edge.cpp:53:14 > #7 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #8 0x1213931 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 > > ================================================================= > ==3538249==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 0xabac0b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13ebe42 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:164:9 > #3 0x1d6d4b0 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0x1f0c640 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xae9e52 in GUIVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/guisim/GUIVehicleControl.cpp:53:5 > #6 0x162c65d in MSInsertionControl::determineCandidates(long long) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:246:57 > #7 0x19529af in MSNet::simulationStep() /home/delphi/clangDebug/sumo/src/microsim/MSNet.cpp:685:17 > #8 0x8f38be in GUINet::simulationStep() /home/delphi/clangDebug/sumo/src/guisim/GUINet.cpp:232:12 > #9 0x6b7a08 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 > > ================================================================= > ==3538194==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 0x7fc2f6fad2f4 (/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 0x7fc2e06140cd (<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 > > ================================================================= > ==3538179==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 0x7f2f412292f4 (/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 0x7f2f2a88f0cd (<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/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 > > ================================================================= > ==3538184==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 0x7f30619142f4 (/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 0x7f304b4220cd (<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 > > ================================================================= > ==3546508==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fe6bc689f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 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 > > ================================================================= > ==3546522==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f184dd6f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f184dd6f082 in __libc_start_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 > > ================================================================= > ==3546592==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fd8978015ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd89654f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3546525==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f96905e95ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f968f337082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3546529==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7ff2a94a45ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff2a81f2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3546017==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f54296ad082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f54296ad082 in __libc_start_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 > > ================================================================= > ==3543690==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f52e9c7b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f52e9c7b082 in __libc_start_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 > > ================================================================= > ==3543673==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 0xb5802b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13c20db in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x13ae486 in double MSLane::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSLane.h:1095:23 > #4 0x14d47cc 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 0x14de85d 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 0x1294a93 in TraCIServerAPI_Lane::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Lane.cpp:50:14 > #7 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #8 0x1213931 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 0x7f415f35f082 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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3543693==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8d35a5e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f8d35a5e082 in __libc_start_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 > > ================================================================= > ==3543699==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 0xb5802b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13c20db in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x13ae486 in double MSLane::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSLane.h:1095:23 > #4 0x14d47cc 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 0x14de85d 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 0x1294a93 in TraCIServerAPI_Lane::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Lane.cpp:50:14 > #7 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #8 0x1213931 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 0x7ff75e6fb082 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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3546594==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff0ec801082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7ff0ec801082 in __libc_start_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 > > ================================================================= > ==3546616==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f94cf32b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f94cf32b082 in __libc_start_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 > > ================================================================= > ==3546625==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6d2f9f1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f6d2f9f1082 in __libc_start_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 > > ================================================================= > ==3546613==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe4a0606082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fe4a0606082 in __libc_start_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 > > ================================================================= > ==3546951==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6bc62a1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f6bc62a1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3542322==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fb7366c25ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb735410082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542385==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f2fa26da5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2fa1428082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542387==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fc673eb35ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc672c01082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542514==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0x16d12e9 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 0x137d425 in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:1103:17 > #12 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #13 0x1213931 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 0x7fe08c13b082 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 > > ================================================================= > ==3542711==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 0x15e3d8e 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 0x12f8912 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1213931 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 0x7fdfecc73082 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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 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 > > ================================================================= > ==3542725==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 0x15e3d8e 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 0x12f8912 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1213931 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 0x7f13e6390082 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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 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 > > ================================================================= > ==3542723==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 0x15e3d8e 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 0x12f8912 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1213931 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 0x7f080cdef082 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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 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 > > ================================================================= > ==3542727==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 0x15e3d8e 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 0x12f8912 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1213931 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 0x7f0cf4eba082 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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0cf4eba082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak 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 > > ================================================================= > ==3542687==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f1eb8a495ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1eb7797082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542684==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f7ffd6825ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7ffc3d0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542694==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fcfcc3655ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcfcb0b3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542701==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f83097e65ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8308534082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542602==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f6686a125ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6685760082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 > > ================================================================= > ==3542587==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7efe8caa95ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efe8b7f7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542637==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f567dcfe5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f567ca4c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542567==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1aed6f1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f1aed6f1082 in __libc_start_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 > > ================================================================= > ==3542565==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f75364eb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f75364eb082 in __libc_start_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 > > ================================================================= > ==3542574==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa8cdec3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fa8cdec3082 in __libc_start_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 > > ================================================================= > ==3542515==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc417a93082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fc417a93082 in __libc_start_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 > > ================================================================= > ==3542643==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f176484e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f176484e082 in __libc_start_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 > > ================================================================= > ==3542644==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f17bf515082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f17bf515082 in __libc_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 > > ================================================================= > ==3542388==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f91837d55ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 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 > > ================================================================= > ==3542422==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f4c9c4f25ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4c9b240082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542470==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fd80739b5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd8060e9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542467==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7ff5c01255ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff5bee73082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542468==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f8b3f3e05ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8b3e12e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542445==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f3a491a25ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3a47ef0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3542471==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7efc6b4c35ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efc6a211082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 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 > > ================================================================= > ==3546634==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f414b3bf082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f414b3bf082 in __libc_start_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 > > ================================================================= > ==3546949==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 0xb5802b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x1e4e4fe 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 0x1e4cd03 in MSDevice_ElecHybrid::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_ElecHybrid.cpp:123:43 > #4 0x1b59f67 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:117:5 > #5 0xd0ee9a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #6 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #7 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #8 0xbfcc90 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #9 0xee7c6d 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 0x7fba48dd4082 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 0x2c44030 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 0x2c43f5d 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 0x2c43c0c 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 > > ================================================================= > ==3546894==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f249bca9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f249bca9082 in __libc_start_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 > > ================================================================= > ==3545952==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7ff2825f15ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff28133f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3545944==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 0x1307eee in TraCIServerAPI_Simulation::readStage(TraCIServer&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:452:19 > #2 0x12ac819 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:237:55 > #3 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1213931 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 0x7f2b76949082 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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2b76949082 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,283 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 206 (8-bit, unsigned) to type 'char' changed the value to -50 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -50 (8-bit, signed) to type 'unsigned char' changed the value to 206 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3546014==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f8f5f8fa5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8f5e648082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 206 (8-bit, unsigned) to type 'char' changed the value to -50 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -50 (8-bit, signed) to type 'unsigned char' changed the value to 206 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,356 > > ================================================================= > ==3545984==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 0x2eaf1cb 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 0x178b88c in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7f69baedd5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f69b9c2b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3546008==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 0x2eaf1cb 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 0x178b88c in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7fe7971345ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe795e82082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,283 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3545869==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f0d462585ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0d44fa6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,283 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3545874==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7efc66b5b5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efc658a9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,283 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3545870==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f204fd545ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f204eaa2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,283 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3545872==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f3275b625ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f32748b0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,296 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 171 (8-bit, unsigned) to type 'char' changed the value to -85 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -85 (8-bit, signed) to type 'unsigned char' changed the value to 171 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3545722==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 0x24a20e8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x140f357 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:1315:8 > #3 0x15281b7 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 0x12b5000 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1213931 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 0x7f477346f082 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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f47747215ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3545721==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 0x24a20e8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x140f357 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:1315:8 > #3 0x15281b7 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 0x12b5000 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1213931 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 0x7f5cd27f2082 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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f5cd3aa45ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3545778==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 0x24a20e8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x140f357 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:1315:8 > #3 0x15281b7 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 0x12b5000 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1213931 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 0x7efe71804082 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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7efe72ab65ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3545785==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 0x24a20e8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x140f357 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:1315:8 > #3 0x15281b7 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 0x12b5000 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1213931 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 0x7ff48d281082 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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7ff48e5335ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3545796==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 0x24a20e8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x140f357 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:1315:8 > #3 0x15281b7 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 0x12b5000 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1213931 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 0x7f49b40b3082 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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f49b53655ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3545812==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 0x24a20e8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x140f357 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:1315:8 > #3 0x15281b7 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 0x12b5000 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1213931 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 0x7f00435eb082 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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f004489d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3545865==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 0x24a20e8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x140f357 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:1315:8 > #3 0x15281b7 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 0x12b5000 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1213931 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 0x7fe471bc3082 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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fe472e755ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3545822==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 0x24a20e8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x140f357 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:1315:8 > #3 0x15281b7 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 0x12b5000 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1213931 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 0x7f78b7155082 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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f78b84075ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3545859==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 0x24a20e8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x140f357 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:1315:8 > #3 0x15281b7 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 0x12b5000 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1213931 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 0x7fc4c16d1082 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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fc4c29835ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3545772==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 0x24a20e8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x140f357 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:1315:8 > #3 0x15281b7 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 0x12b5000 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1213931 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 0x7fdab2053082 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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fdab33055ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3545726==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 0x24a20e8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x140f357 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:1315:8 > #3 0x15281b7 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 0x12b5000 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1213931 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 0x7f0dd7cf2082 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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f0dd8fa45ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3545733==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 0x24a20e8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x140f357 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:1315:8 > #3 0x15281b7 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 0x12b5000 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1213931 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 0x7f6fc0b68082 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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f6fc1e1a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3545727==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 0x24a20e8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x140f357 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:1315:8 > #3 0x15281b7 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 0x12b5000 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1213931 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 0x7f6ab8c92082 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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f6ab9f445ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3545747==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 0x24a20e8 in MSPerson::getInfluencer() /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:587:24 > #2 0x140f357 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:1315:8 > #3 0x15281b7 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 0x12b5000 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:414:17 > #5 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #6 0x1213931 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 0x7fd66c1fc082 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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fd66d4ae5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3545896==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 0x1307eee in TraCIServerAPI_Simulation::readStage(TraCIServer&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:452:19 > #2 0x12b12d1 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:330:68 > #3 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1213931 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 0x7f5b8ce60082 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 0x1307eee in TraCIServerAPI_Simulation::readStage(TraCIServer&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:452:19 > #2 0x12ac819 in TraCIServerAPI_Person::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Person.cpp:237:55 > #3 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1213931 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 > > ================================================================= > ==3545910==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fb7581115ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb756e5f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==3545913==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f9bda8ba5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9bd9608082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==3545980==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f4a4ef7f5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4a4dccd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3545986==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f4a6bdab5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4a6aaf9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3545975==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 0x15e3d8e 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 0x12f8912 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1213931 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 0x7f8eae0b7082 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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f8eaf3695ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x606000085d60 which does not point to an object of type 'ParametrisedWrappingCommand<ShapeContainer, PolygonDynamics *>' > 0x606000085d60: note: object has invalid vptr > 25 00 00 0b 29 00 80 53 00 00 00 00 00 00 00 00 be be be be 80 8a 00 00 30 61 00 00 60 c9 02 00 > ^~~~~~~~~~~~~~~~~~~~~~~ > invalid vptr > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/shapes/ShapeContainer.cpp:51:19 in > /home/delphi/clangDebug/sumo/src/utils/common/ParametrisedWrappingCommand.h:66:9: runtime error: member access within address 0x606000085d60 which does not point to an object of type 'ParametrisedWrappingCommand<ShapeContainer, PolygonDynamics *>' > 0x606000085d60: note: object has invalid vptr > 25 00 00 0b 29 00 80 53 00 00 00 00 00 00 00 00 be be be be 80 8a 00 00 30 61 00 00 60 c9 02 00 > ^~~~~~~~~~~~~~~~~~~~~~~ > invalid vptr > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/utils/common/ParametrisedWrappingCommand.h:66:9 in > ================================================================= > ==3546632==ERROR: AddressSanitizer: heap-use-after-free on address 0x606000085d90 at pc 0x000002feb3eb bp 0x7ffd5497a3b0 sp 0x7ffd5497a3a8 > WRITE of size 1 at 0x606000085d90 thread T0 > #0 0x2feb3ea in ParametrisedWrappingCommand<ShapeContainer, PolygonDynamics*>::deschedule() /home/delphi/clangDebug/sumo/src/utils/common/ParametrisedWrappingCommand.h:66:33 > #1 0x2fdf4f2 in ShapeContainer::~ShapeContainer() /home/delphi/clangDebug/sumo/src/utils/shapes/ShapeContainer.cpp:51:19 > #2 0x2fdfd04 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 0x7f385f16a082 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) > > 0x606000085d90 is located 48 bytes inside of 56-byte region [0x606000085d60,0x606000085d98) <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,271 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 249 (8-bit, unsigned) to type 'char' changed the value to -7 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -7 (8-bit, signed) to type 'unsigned char' changed the value to 249 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3546682==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe8c83bd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fe8c83bd082 in __libc_start_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 > > ================================================================= > ==3546642==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fec43e6c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3546675==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fac79b62082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x11fff42 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3546947==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8e223bc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f8e223bc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3546502==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 0x157888a 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 0x12d12d7 in TraCIServerAPI_Route::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Route.cpp:74:17 > #3 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1213931 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 0x7f759d57f082 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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f759d57f082 in __libc_start_main /build/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 > > ================================================================= > ==3546965==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fef8efd2f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3546840==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xf7a111 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:1940:31 > #9 0xf81869 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:1819:9 > #10 0xf6b49a 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:1579:13 > #11 0xe7b7df 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 0x7f2847aa2082 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 > > ================================================================= > ==3546865==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 0x3079cdd 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 0x7f129bfc0082 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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f129bfc0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, 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 > > ================================================================= > ==3546743==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #10 0xee7c6d 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 0x7fb254f3c082 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 > > ================================================================= > ==3546737==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0xcd6261 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd2de9 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7ff896c81f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x11fd11f 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 > > ================================================================= > ==3546821==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f29cefb9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f29cefb9082 in __libc_start_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 > > ================================================================= > ==3546746==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7efb131082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f7efb131082 in __libc_start_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 > > ================================================================= > ==3546777==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 0x2eaf1cb 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 0x178b88c in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7f9294d115ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9293a5f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==3546779==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 0x2eaf1cb 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 0x178b88c in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7ff3d1fe25ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ff3d0d30082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<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 > > ================================================================= > ==3546806==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 0x2eaf1cb 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 0xcc6400 in MSStateHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:172:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7f3bdae9b5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x2eaf1cb 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 0x178b88c in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7f3bdae9b5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f 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 > > ================================================================= > ==3546708==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9401132082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f9401132082 in __libc_start_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 > > ================================================================= > ==3546699==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4816212082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f4816212082 in __libc_start_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 > > ================================================================= > ==3546710==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0xcd6261 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd2de9 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7fab2a38cf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3546769==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f38ec002f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3546750==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fde73019082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fde73019082 in __libc_start_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 > > ================================================================= > ==3546757==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5f4efe5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f5f4efe5082 in __libc_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 > > ================================================================= > ==3546835==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 0x15e3d8e 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 0x12f8912 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:279:66 > #3 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1213931 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 0x7f761157d082 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 0x15daf2c 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 0x12f5233 in TraCIServerAPI_Simulation::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Simulation.cpp:227:56 > #3 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #4 0x1213931 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 > > ================================================================= > ==3546331==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3546303==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3546355==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3546318==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3546328==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3546412==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd0e7af4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fd0e7af4082 in __libc_start_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 > > ================================================================= > ==3546433==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa1b5e8f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fa1b5e8f082 in __libc_start_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 > > ================================================================= > ==3546020==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7efd4d534f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3546085==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f1b17273f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3546111==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fdcab0a6f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3546114==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fda6903af52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3546096==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f40e7b92f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3546113==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fe44debcf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3546124==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f9f936f7f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3546138==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f0288b15f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3546152==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f0c60d61f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3546154==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f831525ef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3546162==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f8144099f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3546178==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f502f6a2f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3546186==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f751e61cf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3546218==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f8c5aaa0f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3546257==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fe67337ff52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3546253==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f5c2b1a5f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3546293==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7ff104bdff52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,4 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in 1a6,374 > > ================================================================= > ==3546298==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7ffb50556f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 <truncated after showing first 30 lines>
---------- Differences in errors ---------- 0a1,334 > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13: runtime error: implicit conversion from type 'unsigned char' of value 162 (8-bit, unsigned) to type 'char' changed the value to -94 (8-bit, signed) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:412:13 in > /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10: runtime error: implicit conversion from type 'char' of value -94 (8-bit, signed) to type 'unsigned char' changed the value to 162 (8-bit, unsigned) > SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/delphi/clangDebug/sumo/src/foreign/tcpip/storage.cpp:414:10 in > > ================================================================= > ==3546251==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fe38db9bf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3546229==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f15285bdf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3546245==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xd2089e 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:461:27 > #9 0xa23236 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 0xd1cae8 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 0xd1740f 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 0x1ef0763 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 0x1d6ca41 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:293:5 > #14 0x1d6849b in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:258:13 > #15 0x1d71b1e in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104:16 > #16 0xed0060 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 > > ================================================================= > ==3546249==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f17d7e12f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, 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 > > ================================================================= > ==3546031==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7f8a9d313f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3546063==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0xcd6261 in MSStateHandler::closeVehicle() /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:448:25 > #12 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #13 0xcd2de9 in MSStateHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/microsim/MSStateHandler.cpp:402:21 > #14 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #15 0x7f0d18089f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3546388==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7de3b10082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3546396==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f51babd7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3546398==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #13 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #14 0x7fbde3ca0f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3546395==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6b339f4082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f6b339f4082 in __libc_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 > > ================================================================= > ==3546408==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 0x1fda308 in MSEdge::getRailwayRoutingEdge() const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:820:36 > #2 0x1efb26a 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 0x1eee97b in MSRoutingEngine::initRouter(SUMOVehicle*) /home/delphi/clangDebug/sumo/src/microsim/devices/MSRoutingEngine.cpp:420:26 > #4 0x1eef9af 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 0x1d6ca41 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:293:5 > #6 0x1d6849b in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:258:13 > #7 0x1d71b1e in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104:16 > #8 0xed0060 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 0x7f0594c84082 in __libc_start_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 > > ================================================================= > ==3546359==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f210fac5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3546961==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc8398b5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fc8398b5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<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 > > ================================================================= > ==3545272==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f937b096082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f937b096082 in __libc_start_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 > > ================================================================= > ==3545297==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f54b4147082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f54b4147082 in __libc_start_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 > > ================================================================= > ==3545271==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1b50a74082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f1b50a74082 in __libc_start_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 > > ================================================================= > ==3545342==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcc24aa9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fcc24aa9082 in __libc_start_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 > > ================================================================= > ==3545337==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f62322c1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3545336==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f31ca7f6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3545338==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb88f57c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12008d8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fb88f57c082 in __libc_start_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 > > ================================================================= > ==3545307==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7f0c337082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f7f0c337082 in __libc_start_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 > > ================================================================= > ==3544071==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3f31086082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f3f31086082 in __libc_start_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 > > ================================================================= > ==3544096==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f21eca4d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f21eca4d082 in __libc_start_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 > > ================================================================= > ==3544092==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f35341eb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f35341eb082 in __libc_start_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 > > ================================================================= > ==3544157==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6e28a66082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f6e28a66082 in __libc_start_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 > > ================================================================= > ==3544180==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f01bcebe082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3544074==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8b7ef29082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f8b7ef29082 in __libc_start_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 > > ================================================================= > ==3544195==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdd57af3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fdd57af3082 in __libc_start_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 > > ================================================================= > ==3544256==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdf76ef7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fdf76ef7082 in __libc_start_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 > > ================================================================= > ==3544243==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc9af09e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fc9af09e082 in __libc_start_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 > > ================================================================= > ==3544236==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f500b314082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f500b314082 in __libc_start_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 > > ================================================================= > ==3544253==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa555a1d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fa555a1d082 in __libc_start_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 > > ================================================================= > ==3544247==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3544248==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc5b68cf082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3544229==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6ef2c2a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f6ef2c2a082 in __libc_start_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 > > ================================================================= > ==3544258==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5cb9535082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f5cb9535082 in __libc_start_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 > > ================================================================= > ==3544269==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f189daf5082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f189daf5082 in __libc_start_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 > > ================================================================= > ==3544283==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f33fab6e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f33fab6e082 in __libc_start_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 > > ================================================================= > ==3544284==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fda130e1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fda130e1082 in __libc_start_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 > > ================================================================= > ==3544350==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc1256df082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fc1256df082 in __libc_start_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 > > ================================================================= > ==3544307==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb9905ea082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fb9905ea082 in __libc_start_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 > > ================================================================= > ==3544338==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7dedc97082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f7dedc97082 in __libc_start_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 > > ================================================================= > ==3544344==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8826ccf082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f8826ccf082 in __libc_start_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 > > ================================================================= > ==3544342==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6a79465082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f6a79465082 in __libc_start_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 > > ================================================================= > ==3545423==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6a6f994082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f6a6f994082 in __libc_start_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 > > ================================================================= > ==3545619==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd148c13082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fd148c13082 in __libc_start_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 > > ================================================================= > ==3545516==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcd08543082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fcd08543082 in __libc_start_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 > > ================================================================= > ==3545612==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc1f1928082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3545615==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7faf0b6d7f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 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 > > ================================================================= > ==3545459==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f646adcef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3545480==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fe7a705ff52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3545474==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3545519==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f542701c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12008d8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f542701c082 in __libc_start_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 > > ================================================================= > ==3545655==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3545060==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xd2089e 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:461:27 > #9 0xa23236 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 0xd1cae8 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 0xd6d7b6 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:1684:12 > #12 0x16b3ab8 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 0x1389304 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 0x1362577 in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:493:22 > #15 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #16 0x1213931 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 > > ================================================================= > ==3544894==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb98fbda082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fb98fbda082 in __libc_start_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 > > ================================================================= > ==3544947==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb37ba7a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3544922==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f12b0d35082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f12b0d35082 in __libc_start_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 > > ================================================================= > ==3544905==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f534b01c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f534b01c082 in __libc_start_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 > > ================================================================= > ==3544931==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fedf307b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fedf307b082 in __libc_start_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 > > ================================================================= > ==3544941==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f16bc0c6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x11fff42 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3545065==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f417b090082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3545034==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7ea393e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f7ea393e082 in __libc_start_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 > > ================================================================= > ==3545091==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd008fad082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fd008fad082 in __libc_start_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 > > ================================================================= > ==3545067==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc70da49082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3544949==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc017a45082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fc017a45082 in __libc_start_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 > > ================================================================= > ==3544940==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f99a66bf082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f99a66bf082 in __libc_start_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 > > ================================================================= > ==3544997==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb9ca754082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fb9ca754082 in __libc_start_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 > > ================================================================= > ==3544958==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f3ba8eb9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x11fff42 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3544992==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 0x1fda308 in MSEdge::getRailwayRoutingEdge() const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:820:36 > #2 0x1efb26a 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 0x1eee97b in MSRoutingEngine::initRouter(SUMOVehicle*) /home/delphi/clangDebug/sumo/src/microsim/devices/MSRoutingEngine.cpp:420:26 > #4 0x1eef9af 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 0x1d6ca41 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:293:5 > #6 0x1d6849b in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:258:13 > #7 0x1d71b1e in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104:16 > #8 0xed0060 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 0x7fb1615ec082 in __libc_start_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 > > ================================================================= > ==3544982==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7a70142082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x11fff42 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3545023==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f63f015f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f63f015f082 in __libc_start_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 > > ================================================================= > ==3545024==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdce9eaa082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fdce9eaa082 in __libc_start_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 > > ================================================================= > ==3545069==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9b895dd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3545654==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0aa9315082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3543769==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fe79e92ff52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3543780==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3543794==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3543790==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3543792==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3543796==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3544069==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb75385c082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fb75385c082 in __libc_start_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 > > ================================================================= > ==3544073==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdeeac9b082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fdeeac9b082 in __libc_start_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 > > ================================================================= > ==3544072==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fbde0187082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fbde0187082 in __libc_start_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 > > ================================================================= > ==3544067==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f84a8c22082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fdc1c in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:329:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3543939==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fadcb70a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3543845==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa76c299082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3543882==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9697e51082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3543892==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2e903a0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f2e903a0082 in __libc_start_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 > > ================================================================= > ==3543970==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fddec1df082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fddec1df082 in __libc_start_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 > > ================================================================= > ==3544003==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7f04717082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f7f04717082 in __libc_start_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 > > ================================================================= > ==3544030==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa716cb6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fa716cb6082 in __libc_start_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 > > ================================================================= > ==3543935==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9198fd1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f9198fd1082 in __libc_start_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 > > ================================================================= > ==3543795==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe0f0942082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fe0f0942082 in __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 > > ================================================================= > ==3543942==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc8fc0ce082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fc8fc0ce082 in __libc_start_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 > > ================================================================= > ==3543967==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7faf6db46082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7faf6db46082 in __libc_start_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 > > ================================================================= > ==3543938==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fdbe65e1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3543814==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fac162c9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fac162c9082 in __libc_start_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 > > ================================================================= > ==3543825==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc8c0c2a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fc8c0c2a082 in __libc_start_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 > > ================================================================= > ==3543940==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4485dac082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f4485dac082 in __libc_start_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 > > ================================================================= > ==3544062==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f513882a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3543902==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f56b4704082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f56b4704082 in __libc_start_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 > > ================================================================= > ==3543840==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5df713e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f5df713e082 in __libc_start_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 > > ================================================================= > ==3543937==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc995b65082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fc995b65082 in __libc_start_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 > > ================================================================= > ==3544064==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb1eeec9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fb1eeec9082 in __libc_start_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 > > ================================================================= > ==3543936==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc1c0066082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fc1c0066082 in __libc_start_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 > > ================================================================= > ==3545434==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe2136d0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3544433==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f0d8e1b9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f0d8e1b9082 in __libc_start_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 > > ================================================================= > ==3544436==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f652b63e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f652b63e082 in __libc_start_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 > > ================================================================= > ==3544395==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f0591ce15fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==3544502==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f3cd91a15fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==3544420==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7f7b0dea35fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==3544495==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fed83a745fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==3544526==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7eff906c85fe in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, 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 > > ================================================================= > ==3544476==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efc7e8b7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3544385==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f290f919082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f290f919082 in __libc_start_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 > > ================================================================= > ==3544393==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f277bf24082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f277bf24082 in __libc_start_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 > > ================================================================= > ==3544376==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6c78b9d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f6c78b9d082 in __libc_start_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 > > ================================================================= > ==3544384==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe1ca938082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fe1ca938082 in __libc_start_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 > > ================================================================= > ==3544465==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f369796d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f369796d082 in __libc_start_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 > > ================================================================= > ==3545545==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 0x3079cdd 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 0x7f84e0fc0082 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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f84e0fc0082 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 0x3079f8f 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 0x7f84e0fc0082 in __libc_start_main /build/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 > > ================================================================= > ==3544796==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xd2089e 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:461:27 > #9 0xa23236 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 0xd1cae8 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 0xd61377 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:1532:12 > #12 0x16b2f7b 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 0x138906d 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 0x136243f in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:488:22 > #15 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #16 0x1213931 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 > > ================================================================= > ==3544562==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcecdc02082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fcecdc02082 in __libc_start_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 > > ================================================================= > ==3544609==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb40e3f0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fb40e3f0082 in __libc_start_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 > > ================================================================= > ==3544597==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc2a5495082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fc2a5495082 in __libc_start_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 > > ================================================================= > ==3544613==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ffa907e7082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7ffa907e7082 in __libc_start_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 > > ================================================================= > ==3544851==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fc1323f0082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fc1323f0082 in __libc_start_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 > > ================================================================= > ==3544865==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fddbcba1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fddbcba1082 in __libc_start_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 > > ================================================================= > ==3544873==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe1fc1ab082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 > > ================================================================= > ==3544653==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa95d6a3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x11fff42 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3544793==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7ffac9269082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3544739==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4e5f719082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f4e5f719082 in __libc_start_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 > > ================================================================= > ==3544783==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f30b6c63082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f30b6c63082 in __libc_start_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 > > ================================================================= > ==3544780==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f002f0b1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f002f0b1082 in __libc_start_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 > > ================================================================= > ==3544779==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f08c2ad6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x11fff42 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3544838==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8558aa9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f8558aa9082 in __libc_start_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 > > ================================================================= > ==3544809==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa9c2641082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3544666==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7faa88d35082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7faa88d35082 in __libc_start_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 > > ================================================================= > ==3544667==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xd2089e 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:461:27 > #9 0xa23236 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 0xd1cae8 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 0xd65e15 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:1586:12 > #12 0x16b23d7 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 0x138906d 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 0x136243f in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:488:22 > #15 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #16 0x1213931 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 > > ================================================================= > ==3544656==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6c02cd2082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f6c02cd2082 in __libc_start_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 > > ================================================================= > ==3544655==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2fb9eaa082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f2fb9eaa082 in __libc_start_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 > > ================================================================= > ==3544728==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f86f7ce1082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12008d8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f86f7ce1082 in __libc_start_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 > > ================================================================= > ==3544660==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f21cf0f9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f21cf0f9082 in __libc_start_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 > > ================================================================= > ==3544668==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4edec1f082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f4edec1f082 in __libc_start_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 > > ================================================================= > ==3544811==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fa21a1655ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa218eb3082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 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 > > ================================================================= > ==3544695==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7efcffcbe082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x11fff42 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3544731==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 0x1fda308 in MSEdge::getRailwayRoutingEdge() const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.h:820:36 > #2 0x1efb26a 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 0x1eee97b in MSRoutingEngine::initRouter(SUMOVehicle*) /home/delphi/clangDebug/sumo/src/microsim/devices/MSRoutingEngine.cpp:420:26 > #4 0x1eef9af 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 0x1d6ca41 in MSDevice_Routing::reroute(long long, bool) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:293:5 > #6 0x1d6849b in MSDevice_Routing::preInsertionReroute(long long) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Routing.cpp:258:13 > #7 0x1d71b1e in WrappingCommand<MSDevice_Routing>::execute(long long) /home/delphi/clangDebug/sumo/src/utils/common/WrappingCommand.h:104:16 > #8 0xed0060 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 0x7f13617a1082 in __libc_start_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 > > ================================================================= > ==3544701==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fcc424ae082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x11fff42 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:341:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3544807==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1d014a9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3545414==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd672799082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fd672799082 in __libc_start_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 > > ================================================================= > ==3545583==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fa2b03cc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fa2b03cc082 in __libc_start_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 > > ================================================================= > ==3545552==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fe12adfd082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fe12adfd082 in __libc_start_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 > > ================================================================= > ==3545628==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f1a10f51082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe5b2 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:332:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f1a10f51082 in __libc_start_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 > > ================================================================= > ==3545586==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7e2d032082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3544537==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f559bf04082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12008d8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f559bf04082 in __libc_start_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 > > ================================================================= > ==3544534==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f35aa4a9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12008d8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f35aa4a9082 in __libc_start_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 > > ================================================================= > ==3544527==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd9fd375082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12008d8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fd9fd375082 in __libc_start_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 > > ================================================================= > ==3544533==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fd4feac9082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3544542==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f9a25029082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12008d8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f9a25029082 in __libc_start_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 > > ================================================================= > ==3544569==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fb3f2678082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12008d8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fb3f2678082 in __libc_start_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 > > ================================================================= > ==3545572==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f8f21605082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f8f21605082 in __libc_start_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 > > ================================================================= > ==3545578==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f47bfc1a082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fe8e4 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:333:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f47bfc1a082 in __libc_start_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 > > ================================================================= > ==3543743==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 0x1bfdec9 in MSDevice_SSM::getUpstreamVehicles(MSDevice_SSM::UpstreamScanStartInfo const&, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&, std::set<MSJunction const*, std::less<MSJunction const*>, std::allocator<MSJunction const*> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDev ice_SSM.cpp:3276:30 > #2 0x1ba2074 in MSDevice_SSM::findSurroundingVehicles(MSVehicle const&, double, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3229:9 > #3 0x1b99b6f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:496:9 > #4 0x1b99146 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:462: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 0x7fe11f159082 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 0x1c057d9 in MSDevice_SSM::getVehiclesOnJunction(MSJunction const*, MSLane const*, double, MSLane const*, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&)::$_1::operator()(std::vector<MSVehicle*, std::allocator<MSVehicle*> > const&) const /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice _SSM.cpp:3385:26 > #2 0x1c00f88 in MSDevice_SSM::getVehiclesOnJunction(MSJunction const*, MSLane const*, double, MSLane const*, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&)::$_0::operator()(MSLane const*) const /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3407:9 > #3 0x1bfc7d0 in MSDevice_SSM::getVehiclesOnJunction(MSJunction const*, MSLane const*, double, MSLane const*, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3456:5 > #4 0x1b9c5a1 in MSDevice_SSM::findSurroundingVehicles(MSVehicle const&, double, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3050:9 > #5 0x1b99b6f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:496:9 > #6 0x1b99146 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:462: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 > > ================================================================= > ==3543746==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 0x1bfdec9 in MSDevice_SSM::getUpstreamVehicles(MSDevice_SSM::UpstreamScanStartInfo const&, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&, std::set<MSJunction const*, std::less<MSJunction const*>, std::allocator<MSJunction const*> > const&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDev ice_SSM.cpp:3276:30 > #2 0x1ba2074 in MSDevice_SSM::findSurroundingVehicles(MSVehicle const&, double, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3229:9 > #3 0x1b99b6f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:496:9 > #4 0x1b99146 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:462: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 0x7f4608d9d082 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 0x1c057d9 in MSDevice_SSM::getVehiclesOnJunction(MSJunction const*, MSLane const*, double, MSLane const*, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&)::$_1::operator()(std::vector<MSVehicle*, std::allocator<MSVehicle*> > const&) const /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice _SSM.cpp:3385:26 > #2 0x1c00f88 in MSDevice_SSM::getVehiclesOnJunction(MSJunction const*, MSLane const*, double, MSLane const*, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&)::$_0::operator()(MSLane const*) const /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3407:9 > #3 0x1bfc7d0 in MSDevice_SSM::getVehiclesOnJunction(MSJunction const*, MSLane const*, double, MSLane const*, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&, std::set<MSLane const*, std::less<MSLane const*>, std::allocator<MSLane const*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3456:5 > #4 0x1b9c5a1 in MSDevice_SSM::findSurroundingVehicles(MSVehicle const&, double, std::map<MSVehicle const*, MSDevice_SSM::FoeInfo*, std::less<MSVehicle const*>, std::allocator<std::pair<MSVehicle const* const, MSDevice_SSM::FoeInfo*> > >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:3050:9 > #5 0x1b99b6f in MSDevice_SSM::update() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:496:9 > #6 0x1b99146 in MSDevice_SSM::updateAndWriteOutput() /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_SSM.cpp:462: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 > > ================================================================= > ==3545481==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f30ddfdb082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f30ddfdb082 in __libc_start_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 > > ================================================================= > ==3545506==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f2ccc9fc082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f2ccc9fc082 in __libc_start_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 > > ================================================================= > ==3545479==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f84781d6082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12005a6 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:343:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3545110==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f90cf8f65ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1e7b661 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 0x1e73965 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b5a006 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0ee9a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3095578 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 > > ================================================================= > ==3545165==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f38d98175ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1e7b661 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 0x1e73965 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b5a006 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0ee9a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3095578 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 > > ================================================================= > ==3545148==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f19144bf5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1e7b661 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 0x1e73965 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b5a006 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0ee9a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3095578 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 > > ================================================================= > ==3545224==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fd714a895ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1e7b661 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 0x1e73965 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b5a006 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0ee9a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3095578 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 > > ================================================================= > ==3545194==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f75df5aa5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1e7b661 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 0x1e73965 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b5a006 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0ee9a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3095578 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 > > ================================================================= > ==3545187==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f37c6d075ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1e7b661 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 0x1e73965 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b5a006 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0ee9a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3095578 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 > > ================================================================= > ==3545196==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7ffbeb9f45ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1e7b661 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 0x1e73965 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b5a006 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0ee9a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3095578 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 > > ================================================================= > ==3545195==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f3ab67f35ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1e7b661 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 0x1e73965 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b5a006 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0ee9a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfcc90 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 0x2eb82ca 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 > > ================================================================= > ==3545198==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fb140d735ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1e7b661 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 0x1e73965 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b5a006 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0ee9a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3095578 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 > > ================================================================= > ==3545099==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 0x2eaf1cb 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 0x178b88c in NLHandler::myStartElement(int, SUMOSAXAttributes const&) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:294:21 > #5 0x30937f3 in GenericSAXHandler::startElement(char16_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 0x7f037deab5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1e7b661 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 0x1e73965 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b5a006 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0ee9a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfcc90 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 0x2eb82ca 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 > > ================================================================= > ==3545226==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f2b74f2a5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1e7b661 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 0x1e73965 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b5a006 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0ee9a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3095578 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 > > ================================================================= > ==3545249==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fba9e4b35ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1e7b661 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 0x1e73965 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b5a006 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0ee9a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3095578 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 > > ================================================================= > ==3545229==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7ff1751a25ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1e7b661 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 0x1e73965 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b5a006 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0ee9a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3095578 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 > > ================================================================= > ==3545120==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fbed99925ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1e7b661 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 0x1e73965 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b5a006 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0ee9a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3095578 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 > > ================================================================= > ==3545126==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 0x1e7b661 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 0x1e73965 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b5a006 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0ee9a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfcc90 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 0x2eb82ca in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:285:13 > #11 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #12 0x7f383d40cf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3545348==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 0xb5802b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13c20db in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x1695e86 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 0x1705c1d in libsumo::Vehicle::handleVariable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, libsumo::VariableWrapper*, tcpip::Storage*) /home/delphi/clangDebug/sumo/src/libsumo/Vehicle.cpp:2529:57 > #5 0x134296c in TraCIServerAPI_Vehicle::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:63:14 > #6 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #7 0x1213931 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 0x7f524480c082 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 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 > > ================================================================= > ==3545384==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f4540b35082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f4540b35082 in __libc_start_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 > > ================================================================= > ==3545397==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xc007f2 in MSVehicleControl::vehicleDeparted(SUMOVehicle const&) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:184:27 > #9 0xd26317 in MSBaseVehicle::onDepart() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:544:47 > #10 0xad6f2c in MSVehicle::enterLaneAtInsertion(MSLane*, double, double, double, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:5152:9 > #11 0xf2ac99 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:403:10 > #12 0xf43f5c in MSLane::isInsertionSuccess(MSVehicle*, double, double, double, bool, MSMoveReminder::Notification) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1196:5 > #13 0xf4f8c8 in MSLane::insertVehicle(MSVehicle&) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:704:26 > #14 0xdd49ec in MSEdge::insertVehicle(SUMOVehicle&, long long, bool, bool) const /home/delphi/clangDebug/sumo/src/microsim/MSEdge.cpp:775:35 > #15 0xee27a7 in MSInsertionControl::tryInsert(long long, SUMOVehicle*, std::vector<SUMOVehicle*, std::allocator<SUMOVehicle*> >&) /home/delphi/clangDebug/sumo/src/microsim/MSInsertionControl.cpp:157:21 > #16 0xee1701 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 > > ================================================================= > ==3545385==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 0xb5802b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0x13c20db in double MSBaseVehicle::getEmissions<(PollutantsInterface::EmissionType)0>() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:748:124 > #3 0x1695e86 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 0x1705c1d in libsumo::Vehicle::handleVariable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, libsumo::VariableWrapper*, tcpip::Storage*) /home/delphi/clangDebug/sumo/src/libsumo/Vehicle.cpp:2529:57 > #5 0x134296c in TraCIServerAPI_Vehicle::processGet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:63:14 > #6 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #7 0x1213931 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 0x7f1b56172082 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 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 > > ================================================================= > ==3545389==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f5431970082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7f5431970082 in __libc_start_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 > > ================================================================= > ==3545723==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f6c56a2d082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd8ea in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:328:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3545683==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7f7363c8e082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1250a50 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::allocate(unsigned long, void const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:114:27 > #2 0x125097d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::allocate(std::allocator<std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::alloca tor<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, unsigned long) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:443:20 > #3 0x125062c in std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits< char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_get_node() /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:580:16 > #4 0x124e7a2 in std::_Rb_tree_node<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >* std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_tr aits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:630:23 > #5 0x124d3b3 in std::_Rb_tree_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > std::_Rb_tree<MSNet::VehicleState, std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11: :basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<MSNet::VehicleState&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::piecewise_construct_t const&, std::tuple<MSNet ::VehicleState&&>&&, std::tuple<>&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2460:19 > #6 0x12347fb in std::map<MSNet::VehicleState, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<MSNet::VehicleState>, std::allocator<std::pair<MSNet::VehicleState const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::a llocator<char> > > > > > >::operator[](MSNet::VehicleState&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:518:15 > #7 0x11fd5b8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:327:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 > > ================================================================= > ==3547365==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 0xb5802b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd0f4a2 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:164:9 > #3 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfcc90 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xee7c6d 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 0x7fbddaf48082 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 0x2c44030 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 0x2c43f5d 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 0x2c43c0c 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 0x2c49df2 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 0x2c49803 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 0x2c36956 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 > > ================================================================= > ==3547376==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 87096 byte(s) in 573 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0xb5802b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd0f4a2 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:164:9 > #3 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfcc90 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xee7c6d 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 0x7ff3147f0082 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 0x2c44030 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 0x2c43f5d 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 0x2c43c0c 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 0x2c49df2 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 0x2c49803 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 0x2c36956 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 > > ================================================================= > ==3547330==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 86640 byte(s) in 570 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0xb5802b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd0f4a2 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:164:9 > #3 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfcc90 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xee7c6d 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 0x7f5cb11e1082 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 0x2c44030 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 0x2c43f5d 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 0x2c43c0c 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 0x2c49df2 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 0x2c49803 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 0x2c36956 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 > > ================================================================= > ==3547378==ERROR: LeakSanitizer: detected memory leaks > > Indirect leak of 85728 byte(s) in 564 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0xb5802b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd0f4a2 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:164:9 > #3 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfcc90 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #6 0xee7c6d 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 0x7f6540f79082 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 0x2c44030 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 0x2c43f5d 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 0x2c43c0c 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 0x2c49df2 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 0x2c49803 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 0x2c36956 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 > > ================================================================= > ==3547320==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fe2f45335ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x20393f0 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 0x1e7a0fc 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 0x24f6f57 in MSStageDriving::registerWaiting(MSTransportable*, long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSStageDriving.cpp:289:9 > #4 0x24f3751 in MSStageDriving::proceed(MSNet*, MSTransportable*, long long, MSStage*) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSStageDriving.cpp:256:9 > #5 0x251be54 in MSTransportable::proceed(MSNet*, long long, bool) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSTransportable.cpp:117:20 > #6 0x24a0d65 in MSPerson::MSPersonStage_Walking::moveToNextEdge(MSTransportable*, long long, int, MSEdge*) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPerson.cpp:328:22 > #7 0x25d2ab0 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 0x25c4c0f 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 0x261064b in MSPModel_Striping::MovePedestrians::execute(long long) /home/delphi/clangDebug/sumo/src/microsim/transportables/MSPModel_Striping.cpp:2510:14 > #10 0xed0060 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 0x7fe2f3281082 in __libc_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 > > ================================================================= > ==3547399==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f267f16d5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1e7b661 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 0x1e73965 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b5a006 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0ee9a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfcc90 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0xee7c6d 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 0x7f267debb082 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 > > ================================================================= > ==3547549==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fda624bd5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 > > ================================================================= > ==3547875==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7fcdf42875ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfeec9 in MSVehicleControl::removePending() /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:157:31 > #9 0xe78663 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 > > ================================================================= > ==3547417==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 0x2eaf1cb 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 0x30937f3 in GenericSAXHandler::startElement(char16_t const*, char16_t const*, char16_t const*, xercesc_3_2::Attributes const&) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:128:9 > #5 0x7f25dab2e5ae in xercesc_3_2::SAX2XMLReaderImpl::startElement(xercesc_3_2::XMLElementDecl const&, unsigned int, char16_t const*, xercesc_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 0x1e7b918 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 0x1e73965 in MSDevice_Taxi::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice_Taxi.cpp:106:37 > #3 0x1b5a006 in MSDevice::buildVehicleDevices(SUMOVehicle&, std::vector<MSVehicleDevice*, std::allocator<MSVehicleDevice*> >&) /home/delphi/clangDebug/sumo/src/microsim/devices/MSDevice.cpp:118:5 > #4 0xd0ee9a in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:158:5 > #5 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #6 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #7 0xbfcc90 in MSVehicleControl::buildVehicle(SUMOVehicleParameter*, MSRoute const*, MSVehicleType*, bool, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:107:5 > #8 0x16d12e9 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 0x137d425 in TraCIServerAPI_Vehicle::processSet(TraCIServer&, tcpip::Storage&, tcpip::Storage&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServerAPI_Vehicle.cpp:1103:17 > #10 0x1209f4b in TraCIServer::dispatchCommand() /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:832:19 > #11 0x1213931 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 > > ================================================================= > ==3547836==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 0x1207f8d in TraCIServer::vehicleStateChanged(SUMOVehicle const*, MSNet::VehicleState, std::__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 0xbfd663 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:122:27 > #9 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7fb10d1e7f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 > > ================================================================= > ==3536887==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 0x11fd11f in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:326:32 > #2 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #3 0x176dc49 in NLBuilder::init(bool) /home/delphi/clangDebug/sumo/src/netload/NLBuilder.cpp:315:5 > #4 0x5541f4 in main /home/delphi/clangDebug/sumo/src/sumo_main.cpp:96:19 > #5 0x7fedc9065082 in __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:308:16 > > Indirect leak of 64 byte(s) in 1 object(s) allocated from: > #0 0x55039d in operator new(unsigned long) (/home/delphi/clangDebug/sumo/bin/sumoD+0x55039d) > #1 0x1258010 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 0x1257f3d 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 0x1257bec 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 0x1255d62 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 0x1254973 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 0x1234ffb 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 0x12008d8 in TraCIServer::TraCIServer(long long, int, int) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:344:13 > #8 0x1206732 in TraCIServer::openSocket(std::map<int, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&), std::less<int>, std::allocator<std::pair<int const, bool (*)(TraCIServer&, tcpip::Storage&, tcpip::Storage&)> > > const&) /home/delphi/clangDebug/sumo/src/traci-server/TraCIServer.cpp:373:26 > #9 0x176dc49 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 0x7fedc9065082 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 0x7eff47119240> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (72.0, 73.0) <zip object at 0x7eff4715ed00> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7eff4715e600> 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 0x7eff46de04c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (72.0, 73.0) <zip object at 0x7eff4711d200> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7eff470b99c0> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (100.0, 200.0) <zip object at 0x7eff4715e840> 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 0x7eff47127380> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (73.0, 74.0) <zip object at 0x7eff47127680> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7eff47127800> 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 0x7fd2a7eaa0c0> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (148.9, 149.0) <zip object at 0x7fd2a7b92080> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (149.0, 150.0) <zip object at 0x7fd2a8078240> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (149.0, 150.0) <zip object at 0x7fd2a8379980> > failed 10 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (140.0, 150.0) <zip object at 0x7fd2a8073fc0> > failed 10 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (140.0, 150.0) <zip object at 0x7fd2a8073240> > failed 100 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (100.0, 200.0) <zip object at 0x7fd2a8074380> > failed 100 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (100.0, 200.0) <zip object at 0x7fd2a80746c0> 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 0x7f8b8fdf64c0> > failed 0.1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.9, 71.0) <zip object at 0x7f8b8fdc31c0> > failed 1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7f8b8fe10380> > failed 1 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7f8b8fe10940> > failed 10 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 80.0) <zip object at 0x7f8b8fe106c0> > failed 10 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (70.0, 80.0) <zip object at 0x7f8b8fe10d40> > failed 100 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (0.0, 100.0) <zip object at 0x7f8b8fe10c00> > failed 100 ['--step-length', '.1', '--end', '100'] 2/1to1/1_0 (0.0, 100.0) <zip object at 0x7f8b8fde0f80> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.9, 71.0) <zip object at 0x7f8b8f8e8080> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.9, 71.0) <zip object at 0x7f8b8f5d2300> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7f8b8fabbdc0> > failed 1 ['--step-length', '.1', '--end', '1000'] 2/1to1/1_0 (70.0, 71.0) <zip object at 0x7f8b8fde26c0> <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 0x7fbca9c8dd40> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (76.0, 77.0) <zip object at 0x7fbca9cc5400> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fbca9cc57c0> 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 0x7fbca99544c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (76.0, 77.0) <zip object at 0x7fbca9c86900> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fbca9c86b80> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (100.0, 200.0) <zip object at 0x7fbca9c861c0> 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 0x7fbca9c88600> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (77.0, 78.0) <zip object at 0x7fbca9cc84c0> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7fbca9cc83c0> 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 0x7f3a06697f80> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (77.0, 78.0) <zip object at 0x7f3a066cdd40> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7f3a066ca780> 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 0x7f3a0635b4c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (77.0, 78.0) <zip object at 0x7f3a066d2200> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7f3a066d2140> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (100.0, 200.0) <zip object at 0x7f3a06625980> 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 0x7f3a066a07c0> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (78.0, 79.0) <zip object at 0x7f3a066a0cc0> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (80.0, 90.0) <zip object at 0x7f3a066a0ac0> 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 0x7ff42543d080> > failed 1 ['--step-length', '.1', '--end', '51'] 3/1to2/1_0 (38.0, 39.0) <zip object at 0x7ff42543bf00> > failed 10 ['--step-length', '.1', '--end', '51'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7ff425440280> > failed 100 ['--step-length', '.1', '--end', '51'] 3/1to2/1_0 (0.0, 51.0) <zip object at 0x7ff4254402c0> > failed 0.1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (38.4, 38.5) <zip object at 0x7ff4253f63c0> > failed 1 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (38.0, 39.0) <zip object at 0x7ff425440a00> > failed 10 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7ff425440500> > failed 100 ['--step-length', '.1', '--end', '100'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7ff425440700> > failed 0.1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (38.4, 38.5) <zip object at 0x7ff4250bf3c0> > failed 1 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (38.0, 39.0) <zip object at 0x7ff425440d40> > failed 10 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7ff425403380> > failed 100 ['--step-length', '.1', '--end', '1000'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7ff425444d40> > failed 0.1 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7ff4253f4cc0> > failed 1 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7ff425404880> > failed 10 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7ff425404d40> > failed 100 ['--step-length', '1', '--end', '51'] 3/1to2/1_0 (0.0, 51.0) <zip object at 0x7ff425404b80> > failed 0.1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7ff425404a00> > failed 1 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7ff425404180> > failed 10 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7ff425436ec0> > failed 100 ['--step-length', '1', '--end', '100'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7ff425404180> > failed 0.1 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7ff425404800> > failed 1 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (39.0, 40.0) <zip object at 0x7ff42543b700> > failed 10 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (30.0, 40.0) <zip object at 0x7ff4253f6840> > failed 100 ['--step-length', '1', '--end', '1000'] 3/1to2/1_0 (0.0, 100.0) <zip object at 0x7ff425389540>
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). > ================================================================= > ==3544389==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b000015a10 at pc 0x0000012050db bp 0x7ffd28d326b0 sp 0x7ffd28d326a8 > WRITE of size 8 at 0x60b000015a10 thread T0 ---------- Differences in output ---------- 3,102c3,102 < Time 2.0: Gap 'follower'->'leader' = 5.938 (headway=0.367) < 'follower' speed = 16.161582708 < Time 3.0: Gap 'follower'->'leader' = 8.966 (headway=0.528) < 'follower' speed = 16.9836198736 < Time 4.0: Gap 'follower'->'leader' = 11.281 (headway=0.641) < 'follower' speed = 17.5863190784 < Time 5.0: Gap 'follower'->'leader' = 13.069 (headway=0.725) < 'follower' speed = 18.0379935645 < Time 6.0: Gap 'follower'->'leader' = 14.459 (headway=0.787) < 'follower' speed = 18.3815472225 < Time 7.0: Gap 'follower'->'leader' = 15.545 (headway=0.834) < 'follower' speed = 18.6456171431 < Time 8.0: Gap 'follower'->'leader' = 16.397 (headway=0.870) < 'follower' speed = 18.8501483763 < Time 9.0: Gap 'follower'->'leader' = 17.068 (headway=0.898) < 'follower' speed = 19.0094667411 < Time 10.0: Gap 'follower'->'leader' = 17.596 (headway=0.920) < 'follower' speed = 19.1340998278 < Time 11.0: Gap 'follower'->'leader' = 18.013 (headway=0.937) < 'follower' speed = 19.231918606 < Time 12.0: Gap 'follower'->'leader' = 18.342 (headway=0.950) < 'follower' speed = 19.3088858604 < Time 13.0: Gap 'follower'->'leader' = 18.603 (headway=0.960) < 'follower' speed = 19.3695649077 < Time 14.0: Gap 'follower'->'leader' = 18.810 (headway=0.969) < 'follower' speed = 19.4174756866 < Time 15.0: Gap 'follower'->'leader' = 18.973 (headway=0.975) < 'follower' speed = 19.4553500651 < Time 16.0: Gap 'follower'->'leader' = 19.103 (headway=0.980) <truncated after showing first 30 lines>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in output ---------- 0a1 > Interrupt signal received, trying to exit gracefully.
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in output ---------- 0a1 > Interrupt signal received, trying to exit gracefully. ---------- Missing result in log ---------- inserted stepLength exDP sigma speedDev departSpeed 1198 1 false 0.5 0.1 0 1650 1 false 0.5 0.1 max 1520 1 false 0.5 0.1 desired 1935 1 false 0.5 0.1 avg 1440 1 false 0 0 0 2073 1 false 0 0 max 1800 1 false 0 0 desired 1800 1 false 0 0 avg 1198 1 true 0.5 0.1 0 1645 1 true 0.5 0.1 max 1922 1 true 0.5 0.1 desired 1969 1 true 0.5 0.1 avg 1440 1 true 0 0 0 2083 1 true 0 0 max 2482 1 true 0 0 desired 2482 1 true 0 0 avg 1368 0.1 false 0.5 0.1 0 2184 0.1 false 0.5 0.1 max 2051 0.1 false 0.5 0.1 desired 2213 0.1 false 0.5 0.1 avg 1500 0.1 false 0 0 0 2489 0.1 false 0 0 max 2400 0.1 false 0 0 desired 2400 0.1 false 0 0 avg 1368 0.1 true 0.5 0.1 0 2191 0.1 true 0.5 0.1 max 2090 0.1 true 0.5 0.1 desired 2211 0.1 true 0.5 0.1 avg 1500 0.1 true 0 0 0 <truncated after showing first 30 lines> ---------- Missing result in log2 ---------- stepLength exDP sigma speedDev departSpeed 1 false 0.5 0.1 0 1 true 0.5 0.1 0 0.1 false 0.5 0.1 0 0.1 true 0.5 0.1 0 1 false 0 0 0 1 true 0 0 0 0.1 false 0 0 0 0.1 true 0 0 0 1 false 0.5 0.1 desired 1 true 0.5 0.1 max 1 false 0.5 0.1 max 1 false 0 0 avg 1 false 0 0 desired 1 true 0.5 0.1 desired 1 false 0.5 0.1 avg 1 true 0.5 0.1 avg 0.1 false 0.5 0.1 desired 1 false 0 0 max 1 true 0 0 max 0.1 true 0.5 0.1 desired 0.1 false 0.5 0.1 max 0.1 true 0.5 0.1 max 0.1 true 0.5 0.1 avg 0.1 false 0.5 0.1 avg 0.1 false 0 0 avg 0.1 false 0 0 desired 1 true 0 0 avg 1 true 0 0 desired 0.1 true 0 0 avg <truncated after showing first 30 lines>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in output ---------- 1a2 > Interrupt signal received, trying to exit gracefully.
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in errors ---------- 0a1,432 > > ================================================================= > ==3547136==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 0xb5802b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd0f4a2 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:164:9 > #3 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #8 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #9 0x7f37e6f61f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x2c44030 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 0x2c43f5d 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 0x2c43c0c 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 0x2c49df2 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 0x2c49803 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 0x2c36956 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 0x2c32855 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa25b8e in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xab3e6a in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4316:5 > #10 0xf833fa in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1968:33 > #11 0xe77b82 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="381" running="171" waiting="9"/> 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.79" duration="175.05" waitingTime="22.32" timeLoss="27.67" departDelay="2.67" departDelayWaiting="-1.00" totalTravelTime="36760.00" totalDepartDelay="560.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 > > ================================================================= > ==3547212==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 0x33712a5 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 0x2acc30e 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 0x2857694 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 0x1871cc0 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 0x17bbbfe in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #18 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #19 0x7f6148649f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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="1014" inserted="623" running="361" waiting="92"/> 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.91" duration="212.56" waitingTime="57.72" timeLoss="65.14" departDelay="1.39" departDelayWaiting="-1.00" totalTravelTime="55692.00" totalDepartDelay="365.00"/> ---------- Differences in tls_state ---------- 102,134d101 < <tlsState time="1312.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1316.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1320.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1352.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1356.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1360.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1392.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1396.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1400.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1432.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1436.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1440.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1472.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1476.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1480.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1512.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1516.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1520.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1552.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1556.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1560.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1592.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1596.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="1600.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="1632.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="1636.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="1640.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="1672.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="1676.00" id="0" programID="a" phase="5" state="rrrr"/> <truncated after showing first 30 lines>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in errors ---------- 0a1,13206 > > ================================================================= > ==3547127==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 0x33712a5 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 0x2acc30e 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 0x2859854 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 0x187146d 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 0x17bbbfe in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #18 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #19 0x7f1dcbfbef52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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="1014" inserted="659" running="408" waiting="271"/> 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="8.07" duration="275.15" waitingTime="108.37" timeLoss="127.77" departDelay="1.37" departDelayWaiting="-1.00" totalTravelTime="69064.00" totalDepartDelay="344.00"/> ---------- Differences in tls_state ---------- 6,380c6,251 < <tlsState time="66.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="70.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="74.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="86.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="90.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="94.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="106.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="110.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="114.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="126.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="130.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="134.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="146.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="150.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="154.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="166.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="170.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="174.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="186.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="190.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="194.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="206.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="210.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="214.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="226.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="230.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="234.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="246.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="250.00" id="0" programID="a" phase="5" state="rrrr"/> <truncated after showing first 30 lines>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in errors ---------- 0a1,15410 > > ================================================================= > ==3547141==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 0x33712a5 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 0x2acc30e 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 0x285cb24 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 0x187067d 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 0x17bbbfe in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #17 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #18 0x7f8ded64cf52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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="809" inserted="597" running="264" waiting="109"/> 9c9 < <vehicleTripStatistics routeLength="2041.90" speed="6.39" duration="341.17" waitingTime="181.60" timeLoss="193.72" departDelay="161.01" departDelayWaiting="-1.00" totalTravelTime="497424.00" totalDepartDelay="234760.00"/> --- > <vehicleTripStatistics routeLength="2041.90" speed="10.16" duration="211.72" waitingTime="58.53" timeLoss="64.33" departDelay="7.29" departDelayWaiting="-1.00" totalTravelTime="70502.00" totalDepartDelay="2426.00"/> ---------- Differences in tls_state ---------- 6,80c6,8 < <tlsState time="66.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="70.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="74.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="126.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="130.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="134.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="186.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="190.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="194.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="246.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="250.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="254.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="306.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="310.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="314.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="366.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="370.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="374.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="426.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="430.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="434.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="486.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="490.00" id="0" programID="a" phase="5" state="rrrr"/> < <tlsState time="494.00" id="0" programID="a" phase="0" state="GrGr"/> < <tlsState time="546.00" id="0" programID="a" phase="1" state="yryr"/> < <tlsState time="550.00" id="0" programID="a" phase="2" state="rrrr"/> < <tlsState time="554.00" id="0" programID="a" phase="3" state="rGrG"/> < <tlsState time="606.00" id="0" programID="a" phase="4" state="ryry"/> < <tlsState time="610.00" id="0" programID="a" phase="5" state="rrrr"/> <truncated after showing first 30 lines>
Test exceeded wallclock time limit of 900.0 seconds ---------- Differences in errors ---------- 0a1,10962 > > ================================================================= > ==3547158==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 0x33712a5 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 0x2acc30e 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 0x285eb0c 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 0x186fe2a 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 0x17bbbfe in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #18 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #19 0x7f18e5c71f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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="704" inserted="537" running="352" waiting="167"/> 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="7.08" duration="329.91" waitingTime="150.75" timeLoss="182.71" departDelay="0.71" departDelayWaiting="-1.00" totalTravelTime="61033.00" totalDepartDelay="132.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 > > ================================================================= > ==3547189==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 0x1c1afe0 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 0x1c1ae5d 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 0x1c1abdc 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 0x1c537c8 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 0x1c53171 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 0x1c16469 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 0x2a8f5ef in MSSOTLE2Sensors::buildCountSensorForLane(MSLane*, NLDetectorBuilder&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLE2Sensors.cpp:163:23 > #8 0x2a8d96d 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 0x286a170 in MSSOTLTrafficLightLogic::init(NLDetectorBuilder&) /home/delphi/clangDebug/sumo/src/microsim/traffic_lights/MSSOTLTrafficLightLogic.cpp:164:33 > #10 0x187616d 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 0x17bbbfe in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #12 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #13 0x7ff5ef568f52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x2aa9360 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 0x2aa928d 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 0x2aa900c 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 0x2aa7c38 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 0x2aa7581 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 0x2aa1e39 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 0x2a91845 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="1215" running="200" waiting="12"/> 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.24" duration="304.83" waitingTime="146.20" timeLoss="157.37" departDelay="37.37" departDelayWaiting="-1.00" totalTravelTime="309405.00" totalDepartDelay="37927.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 > > ================================================================= > ==3547132==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 0xb5802b in MSBaseVehicle::getEmissionParameters() const /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.h:733:30 > #2 0xd0f4a2 in MSBaseVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSBaseVehicle.cpp:164:9 > #3 0xa1df60 in MSVehicle::initDevices() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1027:20 > #4 0xbfd1b0 in MSVehicleControl::initVehicle(MSBaseVehicle*, bool, bool) /home/delphi/clangDebug/sumo/src/microsim/MSVehicleControl.cpp:116:16 > #5 0xbfcc90 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 0x2eb7913 in SUMORouteHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/utils/vehicle/SUMORouteHandler.cpp:271:17 > #8 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #9 0x7ff4b789ff52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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 0x2c44030 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 0x2c43f5d 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 0x2c43c0c 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 0x2c49df2 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 0x2c49803 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 0x2c36956 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 0x2c32855 in EnergyParams::setDouble(SumoXMLAttr, double) /home/delphi/clangDebug/sumo/src/utils/emissions/EnergyParams.cpp:106:5 > #8 0xa25b8e in MSVehicle::workOnMoveReminders(double, double, double) /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:1135:25 > #9 0xab3e6a in MSVehicle::executeMove() /home/delphi/clangDebug/sumo/src/microsim/MSVehicle.cpp:4316:5 > #10 0xf833fa in MSLane::executeMovements(long long) /home/delphi/clangDebug/sumo/src/microsim/MSLane.cpp:1968:33 > #11 0xe77b82 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="685" running="383" waiting="109"/> 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.64" duration="219.00" waitingTime="63.53" timeLoss="71.57" departDelay="1.52" departDelayWaiting="-1.00" totalTravelTime="66138.00" totalDepartDelay="458.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,84220 > > ================================================================= > ==3547214==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 0x7f2b6582a9ec 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 0x2ab0c90 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 0x2894fc8 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 0x186f102 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 0x17bbbfe in NLHandler::myEndElement(int) /home/delphi/clangDebug/sumo/src/netload/NLHandler.cpp:327:46 > #11 0x3095578 in GenericSAXHandler::endElement(char16_t const*, char16_t const*, char16_t const*) /home/delphi/clangDebug/sumo/src/utils/xml/GenericSAXHandler.cpp:167:9 > #12 0x7f2b65c9af52 in xercesc_3_2::SAX2XMLReaderImpl::endElement(xercesc_3_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="690" inserted="654" running="147" waiting="18"/> 9c9 < <vehicleTripStatistics routeLength="2041.90" speed="6.39" duration="341.17" waitingTime="181.60" timeLoss="193.72" departDelay="161.01" departDelayWaiting="-1.00" totalTravelTime="497424.00" totalDepartDelay="234760.00"/> --- > <vehicleTripStatistics routeLength="2041.90" speed="13.89" duration="147.05" waitingTime="0.00" timeLoss="0.04" departDelay="3.85" departDelayWaiting="-1.00" totalTravelTime="74555.00" totalDepartDelay="1954.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>